src/Matrix/row_vector.cc
/**
 * is_decimal - decides whether a string represents a real number
 * @cp: string containing the suspect number
 */
decides whether a string represents a real number
@cp: string containing the suspect number
decides whether a string represents a real number @cp : string containing the suspect number
int row_vector::is_decimal (const char *cp)
{
  if (*cp == '\0')
    return 0;
  for ( ; *cp != '\0'; cp++) {
    if ( isalpha(*cp) || iscntrl(*cp) ) {
      return 0;
    }
  }
  return 1;
}
int row_vector :: is_decimal ( const char * cp ) { if ( * cp == ' \0 ' ) return 0 ; for ( ; * cp != ' \0 ' ; cp ++ ) { if ( isalpha ( * cp ) || iscntrl ( * cp ) ) { return 0 ; } } return 1 ; }
is_decimal - decides whether a string represents a real number
 @cp: string containing the suspect number
is_decimal - decides whether a string represents a real number @cp : string containing the suspect number
/*
   * KNOWN BUG: returns true for a string of blanks
   */