diff options
Diffstat (limited to 'src/math/log2l.c')
-rw-r--r-- | src/math/log2l.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/math/log2l.c b/src/math/log2l.c index d00531d5..722b451a 100644 --- a/src/math/log2l.c +++ b/src/math/log2l.c @@ -173,4 +173,10 @@ done: z += e; return z; } +#elif LDBL_MANT_DIG == 113 && LDBL_MAX_EXP == 16384 +// TODO: broken implementation to make things compile +long double log2l(long double x) +{ + return log2(x); +} #endif |