Fix string to floating point conversion routine.

[INTERPRETER]
* BUG: Fix string to floating point conversion routine.
This commit is contained in:
gambas 2019-02-16 02:00:17 +01:00
parent b7a9af45c6
commit b4a8adf222

View file

@ -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
};