summaryrefslogtreecommitdiffhomepage
path: root/src/fmt_fp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fmt_fp.c')
-rw-r--r--src/fmt_fp.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/fmt_fp.c b/src/fmt_fp.c
index cfbda570a..6a1c832ba 100644
--- a/src/fmt_fp.c
+++ b/src/fmt_fp.c
@@ -90,6 +90,12 @@ fmt_u(uint32_t x, char *s)
typedef char compiler_defines_long_double_incorrectly[9-(int)sizeof(long double)];
#endif
+static long double
+frexpl (long double x, int *eptr)
+{
+ return frexp(x, eptr);
+}
+
static int
fmt_fp(struct fmt_args *f, long double y, int w, int p, int fl, int t)
{