Author |
Message |
Topic: Integer Arithmetic Overflow |
Honore
Replies: 10
Views: 17573
|
Forum: Plato Posted: Fri May 13, 2011 6:08 pm Subject: |
Thanks for the comments. When I try the program using lower numbers such as 10,000, 5000, 500, etc instead of 32767, the result is generated almost immediately. For this issue, FTN95 is not satisfacto ... |
Topic: Integer Arithmetic Overflow |
Honore
Replies: 10
Views: 17573
|
Forum: Plato Posted: Fri May 13, 2011 4:53 pm Subject: |
Thanks for the comments and critiques. Yes, the question was actually on finding the roots of the equation. The solution by hand is okay and I am trying to prove the solution using Fortran.
I chang ... |
Topic: Integer Arithmetic Overflow |
Honore
Replies: 10
Views: 17573
|
Forum: Plato Posted: Fri May 13, 2011 3:11 pm Subject: Integer Arithmetic Overflow |
http://img96.imageshack.us/img96/4008/equationr.gifInteger Arithmetic Overflow" both at line 4 and 6.
INTEGER X, Y
DOUBLE PRECISION A, B
DO 20 X=32767,1,-1
A=X** ... |
|