|
|
|
@ -1189,15 +1189,11 @@ inline bool code_has_value() {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
inline float code_value_float() {
|
|
|
|
|
float ret;
|
|
|
|
|
char* e = strchr(seen_pointer, 'E');
|
|
|
|
|
if (e) {
|
|
|
|
|
if (!e) return strtod(seen_pointer + 1, NULL);
|
|
|
|
|
*e = 0;
|
|
|
|
|
ret = strtod(seen_pointer + 1, NULL);
|
|
|
|
|
float ret = strtod(seen_pointer + 1, NULL);
|
|
|
|
|
*e = 'E';
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
ret = strtod(seen_pointer + 1, NULL);
|
|
|
|
|
return ret;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|