From: Robert Griesemer Date: Thu, 13 Dec 2018 06:08:50 +0000 (-0800) Subject: math: use constant rather than variable for exported test threshold X-Git-Tag: go1.12beta1~75 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=944a9c7a4f2553998609351ee17111995cf80bb7;p=gostls13.git 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 --- diff --git a/src/math/export_test.go b/src/math/export_test.go index 5f15bdb025..53d9205b9d 100644 --- a/src/math/export_test.go +++ b/src/math/export_test.go @@ -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