Re: svn commit: r322418 - head/lib/msun/src

2017-08-12 Thread Ryan Libby
On Sat, Aug 12, 2017 at 2:53 PM, Ngie Cooper (yaneurabeya) wrote: [...] > Here are the full gamut of definitions for LDBL_MAX_EXP. It seems > that sparc64 isn’t the only architecture using this pattern: > > $ grep -r DBL_MAX_EXP sys/*/include > sys/arm/include/float.h:#define DBL_MAX_EXP

Re: svn commit: r322418 - head/lib/msun/src

2017-08-12 Thread Ngie Cooper (yaneurabeya)
> On Aug 12, 2017, at 14:45, Ngie Cooper (yaneurabeya) > wrote: > >> >> On Aug 12, 2017, at 10:55, Ryan Libby wrote: > > … > >> A few possible quick fixes: >> >> - Change the {arm64,riscv,sparc64}/include/float.h LDBL_MAX_EXP >> definitions from (+16384) to 16384. >> >> - Change HALF_LDB

Re: svn commit: r322418 - head/lib/msun/src

2017-08-12 Thread Ngie Cooper (yaneurabeya)
> On Aug 12, 2017, at 10:55, Ryan Libby wrote: … > A few possible quick fixes: > > - Change the {arm64,riscv,sparc64}/include/float.h LDBL_MAX_EXP > definitions from (+16384) to 16384. > > - Change HALF_LDBL_MAX from > #define HALF_LDBL_MAX __CONCAT(__CONCAT(0x0.8p, LDBL_MAX_EXP), L) > to

Re: svn commit: r322418 - head/lib/msun/src

2017-08-12 Thread Ryan Libby
On Sat, Aug 12, 2017 at 9:57 AM, Ryan Libby wrote: > On Sat, Aug 12, 2017 at 9:26 AM, Ian Lepore wrote: >> On Fri, 2017-08-11 at 22:41 +, Ryan Libby wrote: >>> Author: rlibby >>> Date: Fri Aug 11 22:41:24 2017 >>> New Revision: 322418 >>> URL: https://svnweb.freebsd.org/changeset/base/322418

Re: svn commit: r322418 - head/lib/msun/src

2017-08-12 Thread Ryan Libby
On Sat, Aug 12, 2017 at 9:26 AM, Ian Lepore wrote: > On Fri, 2017-08-11 at 22:41 +, Ryan Libby wrote: >> Author: rlibby >> Date: Fri Aug 11 22:41:24 2017 >> New Revision: 322418 >> URL: https://svnweb.freebsd.org/changeset/base/322418 >> >> Log: >> lib/msun: avoid referring to broken LDBL_MA

Re: svn commit: r322418 - head/lib/msun/src

2017-08-12 Thread Ian Lepore
On Fri, 2017-08-11 at 22:41 +, Ryan Libby wrote: > Author: rlibby > Date: Fri Aug 11 22:41:24 2017 > New Revision: 322418 > URL: https://svnweb.freebsd.org/changeset/base/322418 > > Log: >   lib/msun: avoid referring to broken LDBL_MAX >    >   LDBL_MAX is broken on i386: >   https://lists.fre