mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 19:22:50 -06:00
bugfix for parsing floating point numbers in the C runtime
This commit is contained in:
@@ -280,7 +280,7 @@ gu_string_to_double(GuString s, double *res)
|
||||
|
||||
bool neg = false;
|
||||
bool dec = false;
|
||||
int exp = 1;
|
||||
double exp = 1;
|
||||
|
||||
if (src[i] == '-') {
|
||||
neg = true;
|
||||
|
||||
Reference in New Issue
Block a user