1
0
mirror of https://github.com/golang/go synced 2024-11-18 04:24:47 -07:00

math: delete unused function sqrtC

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>
This commit is contained in:
Rob Pike 2016-03-03 13:01:09 +11:00
parent a40b27e304
commit 0f9cc465fa

View 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)
}