Analyze the exponential part of a real number. * @param str Pointer to first character. * @retval Pointer to first non numerical after the string. If success. * @retval Null pointer if any error occur. */
| 246 | * @retval Pointer to first non numerical after the string. If success. |
| 247 | * @retval Null pointer if any error occur. */ |
| 248 | static char* expValue( char* ptr ) { |
| 249 | if ( *ptr == '-' || *ptr == '+' ) ++ptr; |
| 250 | if ( !isdigit( *ptr ) ) return 0; |
| 251 | ptr = goNum( ++ptr ); |
| 252 | return ptr; |
| 253 | } |
| 254 | |
| 255 | /** Analyze the decimal part of a real number. |
| 256 | * @param str Pointer to first character. |