Fix missing fmodl() on arches with 53-bit long doubles.

PR:		199422, 211965
MFC after:	1 week
This commit is contained in:
Bruce Evans 2016-09-04 12:01:32 +00:00
parent 31977b420a
commit a4c138885e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=305380

View File

@ -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