strtoumax: fix typo in previous commit.
[gnulib.git] / tests / test-log10l.c
index 1b89b07..8cb7015 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of log10l() function.
-   Copyright (C) 2010-2012 Free Software Foundation, Inc.
+   Copyright (C) 2010-2013 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 #include "signature.h"
 SIGNATURE_CHECK (log10l, long double, (long double));
 
+#include <float.h>
+
+#include "minus-zero.h"
 #include "fpucw.h"
 #include "macros.h"
 
-volatile long double x;
-long double y;
+#define DOUBLE long double
+#define HUGEVAL HUGE_VALL
+#define MANT_DIG LDBL_MANT_DIG
+#define L_(literal) literal##L
+#define MINUS_ZERO minus_zerol
+#define LOG10 log10l
+#define RANDOM randoml
+#include "test-log10.h"
 
 int
 main ()
@@ -41,5 +50,7 @@ main ()
   y = log10l (x);
   ASSERT (y >= -0.2218487497L && y <= -0.2218487496L);
 
+  test_function ();
+
   return 0;
 }