]> Cypherpunks repositories - gostls13.git/commit
math/big: implemented Frexp, Ldexp, IsInt, Copy, bug fixes, more tests
authorRobert Griesemer <gri@golang.org>
Tue, 10 Feb 2015 00:59:31 +0000 (16:59 -0800)
committerRobert Griesemer <gri@golang.org>
Tue, 10 Feb 2015 19:08:53 +0000 (19:08 +0000)
commitf77696a7f04cf39c973f455fead2af49d5d0c0f6
tree4210d3b8ac7f1e88ee1b22403bfe11a24620ca73
parent263405ea4ac29e2c70e6e0bd3793e54c60f3a305
math/big: implemented Frexp, Ldexp, IsInt, Copy, bug fixes, more tests

- Frexp, Ldexp are equivalents to the corresponding math functions.
- Set now has the same prec behavior as the other functions
- Copy is a true assignment (replaces old version of Set)
- Cmp now handles infinities
- more tests

Change-Id: I0d33980c08be3095b25d7b3d16bcad1aa7abbd0f
Reviewed-on: https://go-review.googlesource.com/4292
Reviewed-by: Alan Donovan <adonovan@google.com>
src/math/big/float.go
src/math/big/float_test.go
src/math/big/floatconv.go