I am sorry, but its incomplete ... I cannot copy and paste the complete code into the box
Edited 2007-03-19 07:41
Made some changes - now it fits into the codebox and it does not need the FPU-Switcher-dll as it seems...
In case the results are wrong you need another dll to switch the FPU to double precision; this one is made by Abram for me. Unfortunately its to big to place it here. Maybe he can compile it again - I think he has some setting wrong in his compiler. Its 150 KB and should be 5 - 10 KB at most...
But maybe its not needed.
If the first results running the test are:
174164204.054924
7.58146687751562
41130.5350648976
31544.6366044224
then it works and if there is no error report below ...
I made tests on 4 different Computers and the Functions worked without changing the FPU-Settings.
Edited 2007-03-19 07:41
Made some changes - now it fits into the codebox and it does not need the FPU-Switcher-dll as it seems...
In case the results are wrong you need another dll to switch the FPU to double precision; this one is made by Abram for me. Unfortunately its to big to place it here. Maybe he can compile it again - I think he has some setting wrong in his compiler. Its 150 KB and should be 5 - 10 KB at most...
But maybe its not needed.
If the first results running the test are:
174164204.054924
7.58146687751562
41130.5350648976
31544.6366044224
then it works and if there is no error report below ...
I made tests on 4 different Computers and the Functions worked without changing the FPU-Settings.