/* Test of logl() function.
- Copyright (C) 2010 Free Software Foundation, Inc.
+ Copyright (C) 2010-2011 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 "fpucw.h"
#include "macros.h"
+volatile long double x;
long double y;
int
BEGIN_LONG_DOUBLE_ROUNDING ();
/* A particular value. */
- y = logl (0.6L);
+ x = 0.6L;
+ y = logl (x);
ASSERT (y >= -0.5108256238L && y <= -0.5108256237L);
return 0;