maint: update all copyright year number ranges
[gnulib.git] / tests / test-log10f.c
index afdc34d..5ca8d26 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of log10f() function.
-   Copyright (C) 2010-2011 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 (log10f, float, (float));
 
+#include <float.h>
+
+#include "minus-zero.h"
 #include "macros.h"
 
-volatile float x;
-float y;
+#define DOUBLE float
+#define HUGEVAL HUGE_VALF
+#define L_(literal) literal##f
+#define MANT_DIG FLT_MANT_DIG
+#define MINUS_ZERO minus_zerof
+#define LOG10 log10f
+#define RANDOM randomf
+#include "test-log10.h"
 
 int
 main ()
@@ -36,5 +45,7 @@ main ()
   y = log10f (x);
   ASSERT (y >= -0.2218488f && y <= -0.2218487f);
 
+  test_function ();
+
   return 0;
 }