SVNews r322418

NOTE: This service is experimental and subject to change! Use at your own risk!

2017-08-11 22:41:24 - r322418 by rlibby (rlibby)

Complete list of files affected by revision r322418:

(Note: At the moment, these links point to ViewVC on svn.freebsd.org. They are probably slow. Do not overuse.)

  History   Contents   Diff   MODIFY   /head/lib/msun/src/catrigl.c  
  History   Contents   Diff   MODIFY   /head/lib/msun/src/math_private.h  
  History   Contents   Diff   MODIFY   /head/lib/msun/src/s_csqrtl.c  

Commit message:

lib/msun: avoid referring to broken LDBL_MAX

LDBL_MAX is broken on i386:
https://lists.freebsd.org/pipermail/freebsd-numerics/2012-September/000288.html

Gcc has produced +Infinity for LDBL_MAX on i386 and amd64 with -m32
for some time, and newer versions of gcc are now warning that the
"floating constant exceeds range of 'long double'". Avoid this by
referring to half the value of LDBL_MAX instead.

Reviewed by: bde
Approved by: markj (mentor)
Sponsored by: Dell EMC Isilon

 


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 16 ms, 3 files printed. Current time is 2017-12-17 05:54:12. All times are in UTC/GMT.