mirror of
https://github.com/opnsense/src.git
synced 2026-04-21 14:17:06 -04:00
Alias frexp as frexpl on platforms where a long double is the same as
a double.
This commit is contained in:
parent
65e60ab108
commit
f8a40fca14
1 changed files with 7 additions and 0 deletions
|
|
@ -24,6 +24,9 @@ static char rcsid[] = "$FreeBSD$";
|
|||
* with *exp=0.
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include <float.h>
|
||||
|
||||
#include "math.h"
|
||||
#include "math_private.h"
|
||||
|
||||
|
|
@ -49,3 +52,7 @@ frexp(double x, int *eptr)
|
|||
SET_HIGH_WORD(x,hx);
|
||||
return x;
|
||||
}
|
||||
|
||||
#if (LDBL_MANT_DIG == 53)
|
||||
__strong_reference(frexp, frexpl);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue