summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/fastmath-2.c
blob: 2003cf952bb08b89d23ae1183f92f8f39eb5c5ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math" } */

extern void abort (void);

volatile double a = 2.002083e-146;
double b;

int
main()
{
  b = 1. / a;

  if (b != (1. / 2.002083e-146))
    abort ();
  return 0;
}