aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/c99-math-float-1.c
blob: 9dd4e9a04837569af39ab1ce73767998c53a9d0e (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;
}