In Fortran, integers are used to index arrays. So if you want integer overflow checking, use -fbounds-check :-)

I know there is a smiley here, but it seems to me that range checking
is quite different from overflow checking.

I think what Toon was alluding to is that "real" Fortran programmers don't use integers except for array subscripts. Real life is floating- point based!

FX

--
François-Xavier Coudert
http://www.homepages.ucl.ac.uk/~uccafco/

Reply via email to