Author: bde
Date: Mon Sep 19 12:34:28 2016
New Revision: 305971
URL: https://svnweb.freebsd.org/changeset/base/305971

Log:
  MFC r305380:
  
  Fix missing fmodl() on arches with 53-bit long doubles.
  
  PR:           199422, 211965

Modified:
  stable/11/lib/msun/src/e_fmod.c

Modified: stable/11/lib/msun/src/e_fmod.c
==============================================================================
--- stable/11/lib/msun/src/e_fmod.c     Mon Sep 19 09:15:12 2016        
(r305970)
+++ stable/11/lib/msun/src/e_fmod.c     Mon Sep 19 12:34:28 2016        
(r305971)
@@ -20,6 +20,8 @@ __FBSDID("$FreeBSD$");
  * Method: shift and subtract
  */
 
+#include <float.h>
+
 #include "math.h"
 #include "math_private.h"
 
@@ -130,3 +132,7 @@ __ieee754_fmod(double x, double y)
        }
        return x;               /* exact output */
 }
+
+#if (LDBL_MANT_DIG == 53)
+__weak_reference(fmod, fmodl);
+#endif
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to