OSDN Git Service

* gcc.dg/pragma-darwin.c: Improve for ppc64.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / c99-math-float-1.c
1 /* { dg-do run { target *-*-solaris2.1[0-9]* } } */
2 /* { dg-options "-std=c99 -O" } */
3
4 #include <math.h>
5 #include "c99-math.h"
6
7 int main(void)
8 {
9   float nan = NAN;
10   float inf = INFINITY;
11   float huge = HUGE_VALF;
12   float norm = __FLT_MIN__;
13   float zero = 0.0f;
14
15   C99_MATH_TESTS (nan, inf, huge, norm, zero)
16
17   return 0;
18 }