3 Oct
2012
3 Oct
'12
12:52 p.m.
Mike Graham wrote:
round(x, n) for n>0 is quite simply not sane code.
I've occasionally used round(x,n) with n>0 - as a quick way to normalize away numeric imprecisions and have values generated by a computation recognized as identical set elements or dictionary keys. I'd have used a function to round in binary instead of decimal had one been handy, but otoh I don't see it would make a real difference, would it?