/* Test of log*() function family.
- Copyright (C) 2012 Free Software Foundation, Inc.
+ Copyright (C) 2012-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
* (DOUBLE) (1U << ((MANT_DIG - 1 + 3) / 5))
* (DOUBLE) (1U << ((MANT_DIG - 1 + 4) / 5));
+ /* Pole. */
{
DOUBLE z = LOG (L_(0.0));
ASSERT (z == - HUGEVAL);
{
/* Error bound, in ulps. */
const DOUBLE err_bound =
- (sizeof (DOUBLE) == sizeof (long double) ?
+ (sizeof (DOUBLE) > sizeof (double) ?
#if defined __i386__ && defined __FreeBSD__
/* On FreeBSD/x86 6.4, the 'long double' type really has only 53 bits of
precision in the compiler but 64 bits of precision at runtime. See
{
/* Error bound, in ulps. */
const DOUBLE err_bound =
- (sizeof (DOUBLE) == sizeof (long double) ?
+ (sizeof (DOUBLE) > sizeof (double) ?
#if defined __i386__ && defined __FreeBSD__
/* On FreeBSD/x86 6.4, the 'long double' type really has only 53 bits of
precision in the compiler but 64 bits of precision at runtime. See