-
Robert Griesemer authored
The documentation says so, but in the case of a normalized integral Rat, the denominator was a new value. Changed the internal representation to use an Int to represent the denominator (with the sign ignored), so a reference to it can always be returned. Clarified documentation and added test cases. Fixes #3521. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6237045
07612b8d
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
arith.go | ||
arith_386.s | ||
arith_amd64.s | ||
arith_arm.s | ||
arith_decl.go | ||
arith_test.go | ||
calibrate_test.go | ||
example_test.go | ||
hilbert_test.go | ||
int.go | ||
int_test.go | ||
nat.go | ||
nat_test.go | ||
rat.go | ||
rat_test.go |