'Error 1210: Extended precision floating point (REAL*10) is not supported in 64-bit mode'
Any suggestions to get more then real*8 ?
Welcome to our forums
'Error 1210: Extended precision floating point (REAL*10) is not supported in 64-bit mode'
Any suggestions to get more then real*8 ?
I don't have any immediate suggestions relating to FTN95.
Dan,
You need a real16 higher precision software emulation library; they must exist. (google quad precision ?) I have no experience with using these but expect it would be messy and slow !! I presume you would require a derived type to store the 'real16' variables and have limited access to the calculations. Would complex(2) provide the storage ?
For simple multiplication and accumulation, see https://en.wikipedia.org/wiki/Kahan_summation_algorithm
This may help.
John
I don't have access to the book right now to check whether it is what you need, but there is a section on 'Arbitrary precision' in 'Numerical Recipes'
See http://crd-legacy.lbl.gov/~dhbailey/mpdist/ for one package that enables multiple precision.
Other compilers have support for REAL*16 using compiler switches.
Multiple precision is not to be chosen without due deliberation and a well-reasoned conclusion that it is necessary.