/* Emulation for ldexpl.
Contributed by Paolo Bonzini
- Copyright 2002, 2003, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
+ Copyright 2002-2003, 2007-2013 Free Software Foundation, Inc.
This file is part of gnulib.
/* Specification. */
#include <math.h>
-#include <float.h>
-#include "fpucw.h"
+#if HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
+
+long double
+ldexpl (long double x, int exp)
+{
+ return ldexp (x, exp);
+}
+
+#else
+
+# include <float.h>
+# include "fpucw.h"
long double
ldexpl (long double x, int exp)
return x;
}
+#endif
+
#if 0
int
main (void)