From 5f699e400a0a982bcc3ad1ff864dca70b1255d8b Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 10 Jan 2019 11:12:28 -0800 Subject: [PATCH] doc: add Go 1.12 release note for trigonometric reductions in math Worth mentioning because the results are not bit-for-bit identical. This causes a test failure in github.com/fogleman/gg. Updates #6794 Change-Id: I701f34927731fb5c658a1be271c04388e5e7e3f7 Reviewed-on: https://go-review.googlesource.com/c/157417 Reviewed-by: Brad Fitzpatrick --- doc/go1.12.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/doc/go1.12.html b/doc/go1.12.html index 568920df6d..e228d98a8c 100644 --- a/doc/go1.12.html +++ b/doc/go1.12.html @@ -553,6 +553,20 @@ for { +
math
+
+

+ The functions + Sin, + Cos, + Tan, + and Sincos now + apply Payne-Hanek range reduction to huge arguments. This + produces more accurate answers, but they will not be bit-for-bit + identical with the results in earlier releases. +

+
+
math/bits

-- 2.50.0