diff options
Diffstat (limited to 'libgo/go/math/expm1.go')
-rw-r--r-- | libgo/go/math/expm1.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/math/expm1.go b/libgo/go/math/expm1.go index 8d7b3d3..b4dcdc5 100644 --- a/libgo/go/math/expm1.go +++ b/libgo/go/math/expm1.go @@ -233,7 +233,7 @@ func expm1(x float64) float64 { y = Float64frombits(Float64bits(y) + uint64(k)<<52) // add k to y's exponent return y } - t := Float64frombits(uint64((0x3ff - k) << 52)) // 2**-k + t := Float64frombits(uint64(0x3ff-k) << 52) // 2**-k y := x - (e + t) y += 1 y = Float64frombits(Float64bits(y) + uint64(k)<<52) // add k to y's exponent |