From 277eddb8f236b76c1028110ca89c9fc596f3074f Mon Sep 17 00:00:00 2001 From: Ivan Ukhov Date: Tue, 17 Feb 2015 07:53:44 +0100 Subject: [PATCH] math: change Nextafter64 to Nextafter in the description of Nextafter Change-Id: I3419d6247fbff36aa1ed5451bb3cfb7502c3d07e Reviewed-on: https://go-review.googlesource.com/5030 Reviewed-by: David Crawshaw --- src/math/nextafter.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/math/nextafter.go b/src/math/nextafter.go index 4314a05714..9088e4d248 100644 --- a/src/math/nextafter.go +++ b/src/math/nextafter.go @@ -29,9 +29,9 @@ func Nextafter32(x, y float32) (r float32) { // Nextafter returns the next representable float64 value after x towards y. // // Special cases are: -// Nextafter64(x, x) = x -// Nextafter64(NaN, y) = NaN -// Nextafter64(x, NaN) = NaN +// Nextafter(x, x) = x +// Nextafter(NaN, y) = NaN +// Nextafter(x, NaN) = NaN func Nextafter(x, y float64) (r float64) { switch { case IsNaN(x) || IsNaN(y): // special case -- 2.50.0