/* Test of exp() function.
- Copyright (C) 2010 Free Software Foundation, Inc.
+ Copyright (C) 2010-2012 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 (exp, double, (double));
+#include <float.h>
+
#include "macros.h"
-volatile double x;
-double y;
+#define DOUBLE double
+#define L_(literal) literal
+#define MANT_DIG DBL_MANT_DIG
+#define EXP exp
+#define RANDOM randomd
+#include "test-exp.h"
int
main ()
y = exp (x);
ASSERT (y >= 1.822118800 && y <= 1.822118801);
+ test_function ();
+
return 0;
}