1 // RUN: %clangxx -O2 %s -o %t && %run %t 2>&1 | FileCheck %s
8 for (int i
= 0; i
< 10000; i
++) {
9 volatile double x
= 10;
11 double y
= frexp(x
, &exp
);
12 if (y
!= 0.625 || exp
!= 4) {
13 printf("i=%d y=%lf exp=%d\n", i
, y
, exp
);
17 fprintf(stderr
, "DONE\n");