aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/c99-math-float-1.c
blob: ba27a710bdefb88a4070d8be85c94c845f98868d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* { dg-do run { target *-*-solaris2.1[0-9]* } } */
/* { dg-options "-std=c99 -O" } */

#include <math.h>
#include "c99-math.h"

int main(void)
{
  float nan = NAN;
  float inf = INFINITY;
  float huge = HUGE_VALF;
  float norm = __FLT_MIN__;
  float zero = 0.0f;

  C99_MATH_TESTS (nan, inf, huge, norm, zero)

  return 0;
}