/* Test of logf() 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 (logf, 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 LOG logf
+#define RANDOM randomf
+#include "test-log.h"
int
main ()
y = logf (x);
ASSERT (y >= -0.5108257f && y <= -0.5108256f);
+ test_function ();
+
return 0;
}