3 program testbigf0
! Can enormous numbers be printed with F0.0 format?
7 integer, parameter :: j(size(real_kinds
)+4)=[REAL_KINDS
, [4, 4, 4, 4]]
8 character(10000) :: str
10 do i
=1,size(real_kinds
)
13 write(str
, "(f0.0)") -huge(real(1.0,kind
=j(1)))
15 write(str
, "(f0.0)") -huge(real(1.0,kind
=j(2)))
17 write(str
, "(f0.0)") -huge(real(1.0,kind
=j(3)))
19 write(str
, "(f0.10)") -huge(real(1.0,kind
=j(4)))