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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [gfortran.dg/] [write_0_pe_format.f90] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
! { dg-do run }
2
! PR libfortran/20101
3
! With format "PE", 0.0 must still have "+00" as exponent
4
character(len=10) :: c1, c2
5
write(c1,"(1pe9.2)") 0.0
6
write(c2,"(1pe9.2)") 1.0
7
if (trim(adjustl(c1)) .ne. "0.00E+00") call abort()
8
if (trim(adjustl(c2)) .ne. "1.00E+00") call abort()
9
end

powered by: WebSVN 2.1.0

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