Floating point and math precision

BlitzMax Forums/BlitzMax Beginners Area/Floating point and math precision

aylwyn(Posted 2008) [#1]
Hi all

I'm writing a little program and I need calculations accurate to the 9th decimal at least.
I noticed that floating point operation aren't very accurate with BlitzMax.

Can anyone explain me why and a possible workaround, if there's any?

thanks


Volker(Posted 2008) [#2]
Oops... Welcome Nr. 11. Or third; in Binary.
Build up your rocketshield and duck the incoming missiles ;-)
click here


Htbaa(Posted 2008) [#3]
Brucey has a precision math module.

Mapm Module


aylwyn(Posted 2008) [#4]
Believe me, I searched before posting.... sorry and thanks


ImaginaryHuman(Posted 2008) [#5]
use doubles?