Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Improving IMSL accuracy

Ling_Meng-chieh
Beginner
495 Views

Dear all

   I want to increase the accuracy of calculation result from IMSL package from 14 digits to 28 digits to delay the influence of numerical instability. In the Visual Studio 2010, I can redeifne double precision from KIND = 8 to KIND = 16 by Property -> Fortran -> Data -> Default Double Precision Kind. However, when using this function in attempt to improve the accuracy, I got error message ERROR#6633:

Error 1 error #6633: The type of the actual argument differs from the type of the dummy argument. 

Is this inevitable or requiring more effort to make this function and IMSL working together.

Sincerely

Meng-Chieh Ling

 

0 Kudos
1 Reply
Steven_L_Intel1
Employee
495 Views
IMSL does not support REAL(16). You cannot get more than double precision from IMSL. You may want to see if there is some Fortran-source library, such as Netlib, which you can compile for REAL(16), though you will need to be careful to make sure you really get the results you want.
0 Kudos
Reply