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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [output_exponents_1.f90] - Blame information for rev 868

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

Line No. Rev Author Line
1 149 jeremybenn
! { dg-do run }
2
! PR 21376
3
! we used to take the logarithm of zero in this special case
4
  character*10 c
5
  write (c,'(e10.4)') 1.0
6
  if(c /= "0.1000E+01") call abort
7
  write (c,'(e10.4)') 0.0
8
  if(c /= "0.0000E+00") call abort
9
  write (c,'(e10.4)') 1.0d100
10
  if(c /= "0.1000+101") call abort
11
  write (c,'(e10.4)') 1.0d-102
12
  if(c /= "0.1000-101") call abort
13
end

powered by: WebSVN 2.1.0

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