aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/math/ldexp.go
AgeCommit message (Collapse)AuthorFilesLines
2018-09-24libgo: update to Go 1.11Ian Lance Taylor1-3/+3
Reviewed-on: https://go-review.googlesource.com/136435 gotools/: * Makefile.am (mostlyclean-local): Run chmod on check-go-dir to make sure it is writable. (check-go-tools): Likewise. (check-vet): Copy internal/objabi to check-vet-dir. * Makefile.in: Rebuild. From-SVN: r264546
2017-08-09compiler: handle >32bit exponent in LdexpIan Lance Taylor1-2/+7
Libgo's implementation of math.Ldexp declared the libc "ldexp" as taking an 'int' exponent argument, which is not quite right for 64-bit platforms (exp arg is always int32); this could yield incorrect results for exponent values outside the range of Minint32/Maxint32. Fix by upating the type for the libc version of ldexp, and adding guards to screen for out-of-range exponents. Fixes #21323. Reviewed-on: https://go-review.googlesource.com/54250 From-SVN: r250992
2014-04-16libgo: Remove Solaris 8 & 9 support.Ian Lance Taylor1-10/+0
From Rainer Orth. From-SVN: r209448
2012-04-27re PR go/52358 (math FAILs on Solaris 8 and 9)Ian Lance Taylor1-1/+12
PR go/52358 math: Work around bug in Solaris 9 implementation of ldexp. The bug is that ldexp(-1, -1075) should return -0, but the Solaris 9 implementation returns +0. From-SVN: r186913
2012-02-09libgo: Update to weekly.2012-02-07.Ian Lance Taylor1-3/+1
From-SVN: r184034
2012-02-07compiler, libgo: Use //extern comments rather than __asm__.Ian Lance Taylor1-1/+4
From-SVN: r183981
2012-01-12libgo: Update to weekly.2011-12-14.Ian Lance Taylor1-0/+5
From-SVN: r183118
2011-01-21Remove the types float and complex.Ian Lance Taylor1-8/+20
Update to current version of Go library. Update testsuite for removed types. * go-lang.c (go_langhook_init): Omit float_type_size when calling go_create_gogo. * go-c.h: Update declaration of go_create_gogo. From-SVN: r169098
2010-12-03Add Go frontend, libgo library, and Go testsuite.Ian Lance Taylor1-0/+33
gcc/: * gcc.c (default_compilers): Add entry for ".go". * common.opt: Add -static-libgo as a driver option. * doc/install.texi (Configuration): Mention libgo as an option for --enable-shared. Mention go as an option for --enable-languages. * doc/invoke.texi (Overall Options): Mention .go as a file name suffix. Mention go as a -x option. * doc/frontends.texi (G++ and GCC): Mention Go as a supported language. * doc/sourcebuild.texi (Top Level): Mention libgo. * doc/standards.texi (Standards): Add section on Go language. Move references for other languages into their own section. * doc/contrib.texi (Contributors): Mention that I contributed the Go frontend. gcc/testsuite/: * lib/go.exp: New file. * lib/go-dg.exp: New file. * lib/go-torture.exp: New file. * lib/target-supports.exp (check_compile): Match // Go. From-SVN: r167407