guy <wi*********@hotmail.com> wrote:
I've also found this link which shows the performance between
float/double/decimal:
http://www.geocities.com/herong_yang...rformance.html
Hmm... the fact that he's doing stuff with variables passed by
reference is a bad first sign. That changes the performance
characteristics, and isn't typical of real use.
The accuracy "problem" with decimal is (I believe - I haven't done a
detailed analysis of the program) that it doesn't cope with very small
numbers as well as double. (Have a look into how decimals and doubles
are stored for more information about this.)
--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too