Commit a8381914 authored by gulyasm's avatar gulyasm Committed by Ian Lance Taylor

math: add doc note about floating point operation

Go doesn't guarantee that the result of floating point operations will
be the same on different architectures. It was not stated in the
documentation, that can lead to confusion.

Fixes #18354

Change-Id: Idb1b4c256fb9a7158a74256136eca3b8ce44476f
Reviewed-on: https://go-review.googlesource.com/34938Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
parent 3c1914fc
......@@ -3,6 +3,9 @@
// license that can be found in the LICENSE file.
// Package math provides basic constants and mathematical functions.
//
// Note that the package doesn't guarantee identical results of floating point operations on
// different architectures.
package math
// Mathematical constants.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment