Will there be, in one of the next releases of FTN95, a support of quadruple precision arithmetic, at least for fundamental arithmetics (+ - * /), but preferably also for SQRT, SIN, COS, &c.?
Best wishes
Wolfgang.
Welcome to our forums
Will there be, in one of the next releases of FTN95, a support of quadruple precision arithmetic, at least for fundamental arithmetics (+ - * /), but preferably also for SQRT, SIN, COS, &c.?
Best wishes
Wolfgang.
At the moment there are no plans to support REAL*16 arithmetic. One approach might be to use the GMP (GNU) library. It would be helpful to know if anyone has experience of accessing this library from Fortran.
As a quick test I have added the following PRINT statement to a working 64 bit ClearWin+/gFortran program...
print*,sqrt(2.0_16)
and the output is
1.41421356237309504880168872420969798E+0000
so it looks like you could work with 64 bit gFortran and ClearWin+.
p.s. It think that this value is correct up to 32 decimal places.
What order of exponents real*16 allows?
Approximately 1.0E-4932 to 1.0E4932.