
1 Jun
2010
1 Jun
'10
4:40 p.m.
One might expect a == (a/b)*b and other common arithmetic formulas to hold for division?
Better not if one's using Float or Double.
I figured someone would say that :)
What about this one:
round (a/b/c) == round (a/(b*c))
Of course this doesn't work on Integers...
/J
On 1 June 2010 21:08, Daniel Fischer
On Tuesday 01 June 2010 20:26:55, Jonas Almström Duregård wrote:
One might expect a == (a/b)*b and other common arithmetic formulas to hold for division?
/Jonas
Better not if one's using Float or Double.