MCPcopy Create free account
hub / github.com/FEX-Emu/FEX / expValue

Function expValue

External/tiny-json/tiny-json.c:248–253  ·  view source on GitHub ↗

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. */

Source from the content-addressed store, hash-verified

246 * @retval Pointer to first non numerical after the string. If success.
247 * @retval Null pointer if any error occur. */
248static 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.

Callers 1

numValueFunction · 0.85

Calls 1

goNumFunction · 0.85

Tested by

no test coverage detected