diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2014-04-16 20:33:57 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2014-04-16 20:33:57 +0000 |
commit | 73cc28d4e7afd539934e7033d0e6dea6c8265852 (patch) | |
tree | e260111252f06f4287732263aeffb954aca02ee2 /libgo/go | |
parent | 1dbdb7561806589afa85316032156d988cb9a060 (diff) | |
download | gcc-73cc28d4e7afd539934e7033d0e6dea6c8265852.zip gcc-73cc28d4e7afd539934e7033d0e6dea6c8265852.tar.gz gcc-73cc28d4e7afd539934e7033d0e6dea6c8265852.tar.bz2 |
libgo: Remove Solaris 8 & 9 support.
From Rainer Orth.
From-SVN: r209448
Diffstat (limited to 'libgo/go')
-rw-r--r-- | libgo/go/math/ldexp.go | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/libgo/go/math/ldexp.go b/libgo/go/math/ldexp.go index 4c63edd..2898f5d 100644 --- a/libgo/go/math/ldexp.go +++ b/libgo/go/math/ldexp.go @@ -17,16 +17,6 @@ func libc_ldexp(float64, int) float64 func Ldexp(frac float64, exp int) float64 { r := libc_ldexp(frac, exp) - - // Work around a bug in the implementation of ldexp on Solaris - // 9. If multiplying a negative number by 2 raised to a - // negative exponent underflows, we want to return negative - // zero, but the Solaris 9 implementation returns positive - // zero. This workaround can be removed when and if we no - // longer care about Solaris 9. - if r == 0 && frac < 0 && exp < 0 { - r = Copysign(0, frac) - } return r } |