Merge tag 'snapshot-start' into stable
[gnulib.git] / tests / test-logl.c
index 9bc923b..9c6f6c7 100644 (file)
 #include "signature.h"
 SIGNATURE_CHECK (logl, long double, (long double));
 
+#include <float.h>
+
 #include "fpucw.h"
+#include "minus-zero.h"
 #include "macros.h"
 
-volatile long double x;
-long double y;
+#define DOUBLE long double
+#define HUGEVAL HUGE_VALL
+#define L_(literal) literal##L
+#define MANT_DIG LDBL_MANT_DIG
+#define MINUS_ZERO minus_zerol
+#define LOG logl
+#define RANDOM randoml
+#include "test-log.h"
 
 int
 main ()
@@ -41,5 +50,7 @@ main ()
   y = logl (x);
   ASSERT (y >= -0.5108256238L && y <= -0.5108256237L);
 
+  test_function ();
+
   return 0;
 }