]> Cypherpunks repositories - gostls13.git/commit
math: test for pos/neg zero return of Ceil/Floor/Trunc
authorIan Lance Taylor <iant@golang.org>
Thu, 1 Feb 2018 04:40:34 +0000 (20:40 -0800)
committerIan Lance Taylor <iant@golang.org>
Tue, 21 Aug 2018 22:31:37 +0000 (22:31 +0000)
commit1ae2eed0b22023cc06ad7f1a82d2df2b6877b14b
tree6ad84fec3070ab31527b77b4ce98832255d09320
parentaa311fecda008d26f97af0a8e7f57dcd04cae6ae
math: test for pos/neg zero return of Ceil/Floor/Trunc

Ceil and Trunc of -0.2 return -0, not +0, but we didn't test that.

Updates #23647

Change-Id: Idbd4699376abfb4ca93f16c73c114d610d86a9f2
Reviewed-on: https://go-review.googlesource.com/91335
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/math/all_test.go