OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gcc.dg/] [div-double-1.c] - Blame information for rev 384

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do run } */
2
/* { dg-options "-O2 -ffinite-math-only" } */
3
/* { dg-require-effective-target double64plus } */
4
 
5
extern void abort (void);
6
 
7
volatile double a = 2.002083e-146;
8
volatile double b;
9
 
10
int
11
main()
12
{
13
  b = 1. / a;
14
 
15
  if (b != (1. / 2.002083e-146))
16
    abort ();
17
  return 0;
18
}

powered by: WebSVN 2.1.0

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