]> Cypherpunks repositories - gostls13.git/commit
math/big: make ErrNaN actually implement the error interface (oversight)
authorRobert Griesemer <gri@golang.org>
Wed, 8 Apr 2015 19:28:44 +0000 (12:28 -0700)
committerRobert Griesemer <gri@golang.org>
Wed, 8 Apr 2015 19:47:39 +0000 (19:47 +0000)
commitb28802d2f1ba9ef49fc3608d7026a524a98bdddb
treedb625dd87f94eb4334e661b8fda664bc09154144
parent514eb4aa542f6989630b0cda290a77be3bc0fb4c
math/big: make ErrNaN actually implement the error interface (oversight)

There was no way to get to the error message before.

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