diff options
Diffstat (limited to 'libgo/go/math/sqrt.go')
-rw-r--r-- | libgo/go/math/sqrt.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/math/sqrt.go b/libgo/go/math/sqrt.go index 215d648..86c0452 100644 --- a/libgo/go/math/sqrt.go +++ b/libgo/go/math/sqrt.go @@ -114,7 +114,7 @@ func sqrt(x float64) float64 { // normalize x exp := int((ix >> shift) & mask) if exp == 0 { // subnormal x - for ix&1<<shift == 0 { + for ix&(1<<shift) == 0 { ix <<= 1 exp-- } |