Browse Source

math: include missing float.h in logbl

LDBL_* macros were not defined in logbl.

the code happens to be correct without them, but when the long double
format matches double the intention was to tail call logb.
master
Szabolcs Nagy 2 months ago
committed by Rich Felker
parent
commit
af839d4381
  1. 1
      src/math/logbl.c

1
src/math/logbl.c

@ -1,4 +1,5 @@
#include <math.h>
#include <float.h>
#if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024
long double logbl(long double x)
{

Loading…
Cancel
Save