For Programmers: Free Programming Magazines  


Home > Archive > Fortran > March 2008 > Re: double precision difference between matlab and fortran 90









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: double precision difference between matlab and fortran 90
Steven G. Kargl

2008-03-19, 7:15 pm

In article <e63d7e90-3251-46ea-851f-ea4c6944ac1c@a1g2000hsb.googlegroups.com>,
louisrom1@gmail.com writes:
> please can you tell me how to see the actual content of alpha in hex?
> is that a format option for "write"?


program a
real x
integer i
x = asin(1.0)
i = transfer(x,i)
write(*,'(Z0)') i
end program a

--
Steve
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com