]> Cypherpunks repositories - gostls13.git/commitdiff
math: delete unused function sqrtC
authorRob Pike <r@golang.org>
Thu, 3 Mar 2016 02:01:09 +0000 (13:01 +1100)
committerRob Pike <r@golang.org>
Thu, 3 Mar 2016 02:29:09 +0000 (02:29 +0000)
It appears to be a trivial dreg. Unreferenced. Gone.

Change-Id: I4a5ceed48e84254bc8a07fdb04487a18a0edf965
Reviewed-on: https://go-review.googlesource.com/20122
Run-TryBot: Rob Pike <r@golang.org>
Reviewed-by: Dave Cheney <dave@cheney.net>
src/math/sqrt.go

index b633a4a6adb29b87f3c0751c2ae31e2f49a9f370..7e95f2365b8d387ac60ac3d31df6b050e352060f 100644 (file)
@@ -142,7 +142,3 @@ func sqrt(x float64) float64 {
        ix = q>>1 + uint64(exp-1+bias)<<shift // significand + biased exponent
        return Float64frombits(ix)
 }
-
-func sqrtC(f float64, r *float64) {
-       *r = sqrt(f)
-}