OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [torture/] [fp-int-convert-long-double.c] - Blame information for rev 298

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* Test floating-point conversions.  Standard types and long double.  */
2
/* Origin: Joseph Myers <joseph@codesourcery.com> */
3
/* { dg-do run } */
4
/* { dg-options "" } */
5
 
6
#include <float.h>
7
#include "fp-int-convert.h"
8
 
9
int
10
main (void)
11
{
12
  TEST_I_F(signed char, unsigned char, long double, LDBL_MANT_DIG);
13
  TEST_I_F(signed short, unsigned short, long double, LDBL_MANT_DIG);
14
  TEST_I_F(signed int, unsigned int, long double, LDBL_MANT_DIG);
15
  TEST_I_F(signed long, unsigned long, long double, LDBL_MANT_DIG);
16
  TEST_I_F(signed long long, unsigned long long, long double, LDBL_MANT_DIG);
17
  exit (0);
18
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.