Fix missing fmodl() on arches with 53-bit long doubles.
PR: 199422, 211965 MFC after: 1 week
This commit is contained in:
parent
31977b420a
commit
a4c138885e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=305380
@ -20,6 +20,8 @@ __FBSDID("$FreeBSD$");
|
|||||||
* Method: shift and subtract
|
* Method: shift and subtract
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <float.h>
|
||||||
|
|
||||||
#include "math.h"
|
#include "math.h"
|
||||||
#include "math_private.h"
|
#include "math_private.h"
|
||||||
|
|
||||||
@ -130,3 +132,7 @@ __ieee754_fmod(double x, double y)
|
|||||||
}
|
}
|
||||||
return x; /* exact output */
|
return x; /* exact output */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if (LDBL_MANT_DIG == 53)
|
||||||
|
__weak_reference(fmod, fmodl);
|
||||||
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user