Commit b4a8adf2 authored by Benoît Minisini's avatar Benoît Minisini

Fix string to floating point conversion routine.

[INTERPRETER]
* BUG: Fix string to floating point conversion routine.
parent b7a9af45
......@@ -52,11 +52,24 @@
#define IS_PURE_INTEGER(_int64_val) ((_int64_val) == ((int)(_int64_val)))
static uint64_t _pow_10[18] = {
10, 100, 1000, 10000,
1000000, 10000000, 100000000, 1000000000,
10000000000, 10000000000, 100000000000, 1000000000000,
10000000000000, 100000000000000, 10000000000000000, 100000000000000000,
1000000000000000000, 10000000000000000000U
10,
100,
1000,
10000,
100000,
1000000,
10000000,
100000000,
1000000000,
10000000000,
100000000000,
1000000000000,
10000000000000,
100000000000000,
1000000000000000,
10000000000000000,
100000000000000000,
1000000000000000000
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment