Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/div-double-1.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
/* { dg-do run } */ /* { dg-options "-O2 -ffinite-math-only" } */ /* { dg-require-effective-target double64plus } */ extern void abort (void); volatile double a = 2.002083e-146; volatile double b; int main() { b = 1. / a; if (b != (1. / 2.002083e-146)) abort (); return 0; }