Fortran technical request

I have the following function signature in Fortran. I'm new to Fortran - what does 0.the function below mean ?

ANTY(IAN,NA,0.,0.)
0
source share
2 answers

The 0.decimal notation is a floating point number, and 0without the decimal point is an integer. This is an important difference for some FORTRAN implementations, where the programmer must ensure that the data types are consistent between the calling routine and the routine itself.

+8
source

It is equivalent 0.0as a 32-bit real number (float in C)

0
source

Source: https://habr.com/ru/post/1720862/


All Articles