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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { 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.