I'm trying to compile an open source FORTRAN 90 program which uses REAL*16 precision.
FTN95 appears to recognize this (KIND=4) since:
for the command line real*16 arg1,c,darg,x1 there is no error/warning.
for maxint=lnum+3*ndec+iqint(c)+5 there is no warning.
and for a later IQINT(1.23E7) i get the message warning 189 - In a previous call to IQINT, the first argument was of type REAL(KIND=4), it is now REAL(KIND=1).
BUT, the 'q' format for KIND 4 constants is not recognized:
for api=pi/180.q0 i get the message error 773 - Variable Q follows another operand (possible unexpected space?)
and if i try to change the constant to 180.0_4 i get the message error 636 - KIND parameter out of range, permitted KINDs are 1, 2, or 3.
So, my questions are:
Is there any way to make the FTN95 support REAL KIND=4?
If not, can you recommend a FORTRAN 90 compiler (i am ready to pay for it) that does support REAL KIND=4. (For usage on a Windows 7 system).
Addition: I installed the gFortran and it recognizes REAL KIND=4 constants. However, when building the project i get a link error message
'undefined reference to `qcos''. (as well as to many other intrinsic functions such as qlog10 etc.).
so now my question is:
- How to include the intrinsic 'q'uadruple precision functions in the build of the gFortran program (in Plato).
Thank you.