• Evan Shaw's avatar
    big: Improvements to Rat.SetString · 2e00bf98
    Evan Shaw authored
    * Allow an exponent part. This is necessary for exp/eval.
    * Fix a bug for input that had no numbers after the decimal.
    * In Int.SetString, allow a leading + sign.
    * In Int.SetString, error if the input is "-" with no number.
    * In nat.scan, normalize the resulting nat.
    
    R=gri
    CC=golang-dev
    https://golang.org/cl/1733045
    2e00bf98
Name
Last commit
Last update
..
Makefile Loading commit data...
arith.go Loading commit data...
arith_386.s Loading commit data...
arith_amd64.s Loading commit data...
arith_arm.s Loading commit data...
arith_decl.go Loading commit data...
arith_test.go Loading commit data...
calibrate_test.go Loading commit data...
hilbert_test.go Loading commit data...
int.go Loading commit data...
int_test.go Loading commit data...
nat.go Loading commit data...
nat_test.go Loading commit data...
rat.go Loading commit data...
rat_test.go Loading commit data...