1
0
mirror of https://github.com/json-iterator/go.git synced 2025-06-15 22:50:24 +02:00

fix read int ranges

This commit is contained in:
Tao Wen
2017-01-15 23:17:17 +08:00
parent 399ee3faaa
commit 54a69f1da2
4 changed files with 120 additions and 169 deletions

View File

@ -10,7 +10,6 @@ var floatDigits []int8
const invalidCharForNumber = int8(-1)
const endOfNumber = int8(-2)
const dotInNumber = int8(-3)
const uint64SafeToMultiple10 = uint64(0xffffffffffffffff) / 10 - 10
func init() {
floatDigits = make([]int8, 256)