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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [read_float_1.f90] - Blame information for rev 715

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

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do run }
2
! { dg-options "-std=legacy" }
3
!
4
! PR18218
5
! The IO library has an algorithm that involved repeated multiplication by 10,
6
! resulting in introducing large cumulative floating point errors.
7
program foo
8
  character*20 s
9
  real(kind=8) d
10
  s = "-.18774312893273    "
11
  read(unit=s, fmt='(g20.14)') d
12
  if (d + 0.18774312893273d0 .gt. 1d-13) call abort
13
end program
14
 

powered by: WebSVN 2.1.0

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