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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [c-c++-common/] [dfp/] [convert-bfp-4.c] - Blame information for rev 686

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 686 jeremybenn
/* This test assumes IEEE float and double.  It also tests long double
2
   but makes no assumption about its size or range of values.  */
3
 
4
#include "convert.h"
5
 
6
volatile _Decimal32 sd;
7
volatile _Decimal64 dd;
8
volatile _Decimal128 td;
9
volatile float sf;
10
volatile double df;
11
volatile long double tf;   /* might actually be df or xf, doesn't matter */
12
 
13
CONVERT_INF_ALL (t);
14
 
15
int
16
main ()
17
{
18
  CALL_INF_ALL (t)
19
 
20
  FINISH
21
}

powered by: WebSVN 2.1.0

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