1
0
mirror of https://github.com/golang/go synced 2024-11-06 15:36:24 -07:00

math: use constant rather than variable for exported test threshold

This is a minor follow-up on https://golang.org/cl/153059.

TBR=iant

Updates #6794.

Change-Id: I03657dafc572959d46a03f86bbeb280825bc969d
Reviewed-on: https://go-review.googlesource.com/c/153845
Reviewed-by: Robert Griesemer <gri@golang.org>
This commit is contained in:
Robert Griesemer 2018-12-12 22:08:50 -08:00
parent 98521a5a8f
commit 944a9c7a4f

View File

@ -9,5 +9,6 @@ var ExpGo = exp
var Exp2Go = exp2
var HypotGo = hypot
var SqrtGo = sqrt
var ReduceThreshold = reduceThreshold
var TrigReduce = trigReduce
const ReduceThreshold = reduceThreshold