aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/fp-int-convert-float16-timode.c
blob: f64f1d2ed6b337874ff3824be4017cd19396c31a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* Test floating-point conversions.  _Float16 type with TImode.  */
/* { dg-do run } */
/* { dg-options "" } */
/* { dg-add-options float16 } */
/* { dg-require-effective-target float16_runtime } */

#define __STDC_WANT_IEC_60559_TYPES_EXT__
#include <float.h>
#include "fp-int-convert.h"

int
main (void)
{
  TEST_I_F(TItype, UTItype, _Float16, FLT16_MANT_DIG, FLT16_MAX_EXP);
  exit (0);
}