]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/gc: use big.Float to represent Mpflt bits
authorRobert Griesemer <gri@golang.org>
Fri, 20 Mar 2015 23:59:08 +0000 (16:59 -0700)
committerRobert Griesemer <gri@golang.org>
Thu, 2 Apr 2015 22:49:47 +0000 (22:49 +0000)
commit5bb89eb009a3c395990259cbca0e917ea025c6d5
tree9a2afe67c37c1d8bb8119a503bb6eff8853a6abb
parent4da157a7235c790c197912bd1c830d9731c77638
cmd/internal/gc: use big.Float to represent Mpflt bits

All multi-precision arithmetic is now based on math/big.

- passes all.bash
- added test cases for fixed bugs

Fixes #7740.
Fixes #6866.

Change-Id: I67268b91766970ced3b928260053ccdce8753d58
Reviewed-on: https://go-review.googlesource.com/7912
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/internal/gc/align.go
src/cmd/internal/gc/const.go
src/cmd/internal/gc/go.go
src/cmd/internal/gc/lex.go
src/cmd/internal/gc/mparith1.go
src/cmd/internal/gc/mparith2.go
src/cmd/internal/gc/mparith3.go
src/cmd/internal/gc/subr.go
test/fixedbugs/issue6866.go [new file with mode: 0644]
test/fixedbugs/issue7740.go [new file with mode: 0644]