Thread View: mod.computers.masscomp
1 messages
1 total messages
Started by Stan Barber, Moderator
Tue, 05 Aug 1986 23:08
bug in FP on 5600/5700
Author: Stan Barber, Moderator
Date: Tue, 05 Aug 1986 23:08
Date: Tue, 05 Aug 1986 23:08
29 lines
1368 bytes
1368 bytes
If you use exponentials in your FORTRAN code, you should avoid
linking in floating point hardware support. The functions will return
garbage if the exponet is any larger than 2.
Here is a test program you can verify with:
program powtest
integer exponet
real base
real result
base = 2.0
do 10 exponet=1,10
result = base**exponet
print *,base,'**',exponet,'=',result
10 continue
end
This problem does not occur when using the pow function in c.
Masscomp has been notified.
Stan
--
Stan uucp:{shell,rice,drillsys}!soma!sob Opinions expressed here
Olan domain:sob@rice.edu or sob@soma.bcm.tmc.edu are ONLY mine &
Barber CIS:71565,623 BBS:(713)660-9252 noone else's.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads