Accurate Math
Posted: Sun Apr 06, 2008 2:42 am
Hi!
In my opinion the section "Accurate Math" (http://cobra-language.com/docs/python/) should be changed.
Choosing decimal arithmetic as a default may an important difference in a comparison with python, but the statement »Python performs arithmetic incorrectly« is incorrect. Python correctly performs perfect binary floating point arithmetic for anyone who wants to do that. Many people do...
Kind regards,
Matthias
In my opinion the section "Accurate Math" (http://cobra-language.com/docs/python/) should be changed.
Choosing decimal arithmetic as a default may an important difference in a comparison with python, but the statement »Python performs arithmetic incorrectly« is incorrect. Python correctly performs perfect binary floating point arithmetic for anyone who wants to do that. Many people do...
Kind regards,
Matthias