question: static boolean isPossibleFP ( String val ) { final int length = val . length ( ) ; for ( int i = 0 ; i < length ; ++ i ) { char c = val . charAt ( i ) ; if ( ! ( c >= '0' && c <= '9' || c == '.' || c == '-' || c == '+' || c == 'E' || c == 'e' ) ) { return false ; } } return true ; }
target:  Returns true if it's possible that the given string represents a valid floating point value (excluding NaN, INF and -INF).