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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [980709-1.c] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
#include <math.h>
2
 
3
main()
4
{
5
  volatile double a;
6
  double c;
7
  a = 32.0;
8
  c = pow(a, 1.0/3.0);
9
  if (c + 0.1 > 3.174802
10
      && c - 0.1 < 3.174802)
11
    exit (0);
12
  else
13
    abort ();
14
}

powered by: WebSVN 2.1.0

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