Hello to all,
following question: Because of calculating speed, I would like to know the following. When using the .or.-expression in for example an if-else-statement. How is it internally parsed? Does Fortran first check the first expression and, if it is true, it skips checking for the second? Or does it check both expressions in any case?
if ( (input .eq. 1.0) .or. (input .eq. 2) ) then
-> does Fortran check the frist expression (input=1?) and, if true skips checking the second (input=2?), or does it check both wether the first one is true or not?
I appreciate every answer, thanks a lot,