URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 302 |
Rev 384 |
! { dg-do run }
|
! { dg-do run }
|
! { dg-add-options ieee }
|
! { dg-add-options ieee }
|
|
|
! PR fortran/36214
|
! PR fortran/36214
|
! For BOZ-initialization of floats, the precision used to be wrong sometimes.
|
! For BOZ-initialization of floats, the precision used to be wrong sometimes.
|
|
|
implicit none
|
implicit none
|
real(4) r
|
real(4) r
|
real(8) rd
|
real(8) rd
|
complex(8) z
|
complex(8) z
|
rd = &
|
rd = &
|
real (b'00000000000000000000000000000000&
|
real (b'00000000000000000000000000000000&
|
&01000000001010010101001111111101',8)
|
&01000000001010010101001111111101',8)
|
z = &
|
z = &
|
cmplx(b'00000000000000000000000000000000&
|
cmplx(b'00000000000000000000000000000000&
|
&01000000001010010101001111111101',0,8)
|
&01000000001010010101001111111101',0,8)
|
r = 0.
|
r = 0.
|
if (z /= rd) call abort
|
if (z /= rd) call abort
|
end
|
end
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.