-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Alter handling of float32 and float64 values within reflect.Number (#914
) * The reflect.Number function was handling float32 and float64 values by determining whether the value in the *big.Float generated through calling val.As() was an exact representation by examining the accuracy produced when calling Float32() or Float64() on the *big.Float * The reflect.Number function has been altered to verify whether the string representation, generated by calling Text(), of the generated *big.Float and a *big.Float created from the float32 or float64 value are identical
- Loading branch information
1 parent
f2e8b33
commit 8280c14
Showing
2 changed files
with
20 additions
and
157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters