---- Pi = 4.q0*Atan(1.q0) ! write(29,*) Pi ! Here ~ 2.7E-32 rewind(29) read(29,*) Qi write(c,*) Pi-Qi rewind(29) ! write(29,1) Pi ! Here ~ -0.4E-33 rewind(29) read(29,1) Qi write(d,1) Pi-Qi rewind(29) ! write(29,2) Pi ! Here 0 as it should !! rewind(29) read(29,2) Qi write(e,2) Pi-Qi ! write(*,'(//)') write(*,'(a)') Trim(Adjustl(c)) write(*,'(a)') Trim(Adjustl(d)) write(*,'(a)') Trim(Adjustl(e)) write(*,'(//)') ! 1 format(g60.34) 2 format(g60.35) ! Good format ! end programme DEMO Output from Program: =============== 2.696301922142130194278369119618898E-0033 -0.3851859888774471706111955885169855E-33 0.0000000000000000000000000000000000Received on Mon Mar 10 2003 - 15:19:21 NZDT
This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:44 NZDT