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
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user