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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [i386/] [20030217-1.c] - Blame information for rev 329

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

Line No. Rev Author Line
1 318 jeremybenn
/* Test whether denormal floating point constants in hexadecimal notation
2
   are parsed correctly.  */
3
/* { dg-do run } */
4
/* { dg-options "-std=c99" } */
5
 
6
long double d = 0x0.0000003ffffffff00000p-16357L;
7
long double e = 0x0.0000003ffffffff00000p-16356L;
8
 
9
extern void abort (void);
10
extern void exit (int);
11
 
12
int
13
main (void)
14
{
15
  if (d != e / 2.0)
16
    abort ();
17
  exit (0);
18
}

powered by: WebSVN 2.1.0

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