diff options
author | Robert Griesemer <gri@golang.org> | 2021-04-30 17:23:35 -0700 |
---|---|---|
committer | Robert Griesemer <gri@golang.org> | 2021-05-03 16:23:09 +0000 |
commit | 7b768d43d0f0e3e734369496bb1caa409d4bd0bb (patch) | |
tree | 035a54d8cc1481b8fc7ff3e1045fa3aa07eff088 /api | |
parent | be1da9cdeecba15d0f68b4dcc145bcc77c0c4ace (diff) | |
download | go-7b768d43d0f0e3e734369496bb1caa409d4bd0bb.tar.gz go-7b768d43d0f0e3e734369496bb1caa409d4bd0bb.zip |
math: replace float32/64 extrema with exact expressions
Follow-up on https://golang.org/cl/315170.
Updates #44057.
Updates #44058.
Change-Id: I0b071e8ee7a1c97aae2436945cc9583cde3b40b0
Reviewed-on: https://go-review.googlesource.com/c/go/+/315969
Trust: Robert Griesemer <gri@golang.org>
Trust: Emmanuel Odeke <emmanuel@orijtech.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Russ Cox <rsc@golang.org>
Diffstat (limited to 'api')
-rw-r--r-- | api/except.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/api/except.txt b/api/except.txt index f5a7aa854e..14fe7785fa 100644 --- a/api/except.txt +++ b/api/except.txt @@ -1,5 +1,6 @@ pkg encoding/json, method (*RawMessage) MarshalJSON() ([]uint8, error) pkg math, const MaxFloat64 = 1.79769e+308 // 179769313486231570814527423731704356798100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 +pkg math, const SmallestNonzeroFloat32 = 1.4013e-45 // 17516230804060213386546619791123951641/12500000000000000000000000000000000000000000000000000000000000000000000000000000000 pkg math, const SmallestNonzeroFloat64 = 4.94066e-324 // 4940656458412465441765687928682213723651/1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 pkg math/big, const MaxBase = 36 pkg math/big, type Word uintptr |