diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-04-16 20:33:57 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-04-16 20:33:57 +0000 |
commit | 3c76932cd5c5ef02985e4055e989b764b9ed71f0 (patch) | |
tree | e260111252f06f4287732263aeffb954aca02ee2 /libgo/go | |
parent | 6da7682f86de3d64d68f5956afcf1f120586dd4a (diff) | |
download | gcc-3c76932cd5c5ef02985e4055e989b764b9ed71f0.tar.gz |
libgo: Remove Solaris 8 & 9 support.
From Rainer Orth.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209448 138bc75d-0d04-0410-961f-82ee72b054a4
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 4c63edd7319..2898f5dd498 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 } |