OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* gcc.dg/c99-math-double-1.c, gcc.dg/c99-math-float-1.c,
[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 sub = __FLT_MIN__ / 2;
14
float zero = 0.0f;
15
16
C99_MATH_TESTS (nan, inf, huge, norm, sub, zero)
17
18
return 0;
19
}