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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [div-double-1.c] - Blame information for rev 753

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

Line No. Rev Author Line
1 689 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.