freebsd-nq/lib/libc/gen/ldexp.c
Alex Richardson f5542795b9 s_scalbn.c: Add missing float.h include
This caused LDBL_MANT_DIG to not be defined and therefore the scalbnl
alias was not being emitted for double==long double platforms.

Fixes:		760b2ffc ("Update scalbn* functions to the musl versions")
Reported by:	Jenkins
2021-03-01 14:22:47 +00:00

11 lines
237 B
C

#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
/*
* ldexp() and scalbn() are defined to be identical, but ldexp() lives in libc
* for backwards compatibility.
*/
#define scalbn ldexp
#include "../../msun/src/s_scalbn.c"
#undef scalbn