floats always parsed as float64

This commit is contained in:
Mahmood Ali 2020-10-26 12:42:14 -04:00
parent e3d0d3a94e
commit 639fc3a88d
1 changed files with 2 additions and 5 deletions

View File

@ -197,9 +197,6 @@ func smallestNumber(b *big.Float) interface{} {
return v
}
if v, acc := b.Float64(); acc == big.Exact || acc == big.Above {
return v
}
return b
v, _ := b.Float64()
return v
}