- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
program main
real*8 eps(4),a12,a34
eps(1) = Z'4037CB020C49BA5E'
eps(2) = Z'403C1E76C8B43958'
eps(3) = Z'BFF943D46B26BF87'
eps(4) = Z'BFF943D46B26BF87'
write(*,'(z17.16)') eps(1)*eps(2) - eps(3)*eps(4)
a12 = eps(1)*eps(2)
a34 = eps(3)*eps(4)
write(*,'(z17.16)') a12 - a34
end
save this program as ex5.f and compile it with ifc -o ex5 ex5.f
then you can see the difference, why????
Anybody can give me an explanation? In java I got the second result, and also I believe the second one is correct! But how to change the first expression correct by changing some options of ifc?
Link Copied
0 Replies
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page