gfortran 4.7, no support for qfloat?

I have code that works fine in ifort. But when trying to run on gfortran 4.7.1 (which does support quads and has no problem with real * 16) I can't cast an integer variable to a quad precision float (real*16) using something like:

factq(i) = factq(i-1) * qfloat(i)

Finding a list of the new intrinsics for gfortran 4.6+ which supports quad precision is taking much longer than anticipated. Anyone know if the gcc project doesn't support the same intrinsics as everyone else? Do I have to include some library to make it work?

All the documentation I can find says that qfloat isn't implemented in GNU fortran.

Most of the other documentation I can find is related to IBM XL fortran, which I'm guessing is where you qfloat's come from.

I finally found it. The new way is:

real(i, 16)

Thanks for the help though!

1 Like