maint: update copyright
[gnulib.git] / tests / test-log1p.c
index e6c4e69..d71a8e3 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of log1p() function.
-   Copyright (C) 2010-2011 Free Software Foundation, Inc.
+   Copyright (C) 2010-2014 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 (log1p, double, (double));
 
+#include <float.h>
+
 #include "macros.h"
 
-volatile double x;
-double y;
+#define DOUBLE double
+#define HUGEVAL HUGE_VAL
+#define L_(literal) literal
+#define MANT_DIG DBL_MANT_DIG
+#define LOG1P log1p
+#define RANDOM randomd
+#include "test-log1p.h"
 
 int
 main ()
@@ -36,5 +43,7 @@ main ()
   y = log1p (x);
   ASSERT (y >= 0.4700036292 && y <= 0.4700036293);
 
+  test_function ();
+
   return 0;
 }