Re: Go patch committed: Avoid negative zero in float constants

2018-02-06 Thread Ian Lance Taylor
On Mon, Feb 5, 2018 at 11:26 AM, Ian Lance Taylor wrote: > On Mon, Feb 5, 2018 at 10:47 AM, Rainer Orth > wrote: >> >>> This patch to the Go frontend checks for negative numbers with very >>> small magnitudes that will round to negative zero, and forces them to >>> positive zero instead. This im

Re: Go patch committed: Avoid negative zero in float constants

2018-02-05 Thread Rainer Orth
Hi Ian, >> unfortunately, this broke bootstrap with mpfr 2.4.2, which is still the >> minimum version documented in install.texi: > > Bother. Thanks for the note. I've rolled back the patch, as follows. thanks. I'm right now experimenting to bootstrap with the current versions. As I'd reporte

Re: Go patch committed: Avoid negative zero in float constants

2018-02-05 Thread Ian Lance Taylor
On Mon, Feb 5, 2018 at 10:47 AM, Rainer Orth wrote: > >> This patch to the Go frontend checks for negative numbers with very >> small magnitudes that will round to negative zero, and forces them to >> positive zero instead. This implements the spec clarification in >> https://golang.org/cl/14727.

Re: Go patch committed: Avoid negative zero in float constants

2018-02-05 Thread Rainer Orth
Hi Ian, > This patch to the Go frontend checks for negative numbers with very > small magnitudes that will round to negative zero, and forces them to > positive zero instead. This implements the spec clarification in > https://golang.org/cl/14727. The test is in > https://golang.org/cl/91895. T