aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/c99-math-double-1.c
blob: 54bdf60dfe77a2a121df821ecbfdc94807d7a046 (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)
{
  double nan = NAN;
  double inf = INFINITY;
  double huge = HUGE_VAL;
  double norm = __DBL_MIN__;
  double zero = 0.0;

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

  return 0;
}