All Questions
2 questions
1
vote
0
answers
554
views
How to show arrays in fortran subroutines in debugging mode (netbeans and code blocks)?
I am using gfortran with Code::Blocks 13.12 and NetBeans 8.0.
Both are using GDB debugger. Codeblocks uses MinGW, netbeans uses Cygwin. In both cases I have latest stable compiler, debugger and make.
...
1
vote
2
answers
209
views
Fortran pythagorean trigonometric identity not working at times
I'm using Codeblocks + GNU Fortran.
The problem is that I have calculations like:
SQRT(1-COS*COS)
And when I do these calculations a lot (a few million times) sometimes the value under square root ...