]> Cypherpunks repositories - gostls13.git/commit
math/big: introduce Undef Accuracy, use for NaN operands/results
authorRobert Griesemer <gri@golang.org>
Tue, 3 Mar 2015 19:37:06 +0000 (11:37 -0800)
committerRobert Griesemer <gri@golang.org>
Wed, 4 Mar 2015 18:23:22 +0000 (18:23 +0000)
commitd934d10a0b6dcc4a0f4a90a5250b059d3b2a7073
tree7320410f6f70626dbe248f561e2a513477faf91e
parentea1fafbccdaee0632dbbdd610d24ab2e2ac25cb6
math/big: introduce Undef Accuracy, use for NaN operands/results

This change represents Accuracy as a bit pattern rather than
an ordered value; with a new value Undef which is both Below
and Above.

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