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

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

  return 0;
}