
15 Apr
2010
15 Apr
'10
3:56 p.m.
on 15.04.2010 at 2:42 Chad Nelson wrote :
and a policy regulating whether to use ordinary arithmetic or modulo one would be vital e.g. a natural expectation is that a fixed 128 bit integer does modulo (2^128) arithmetic
I'm not sure what "normal arithmetic" means for a fixed-size integer. Are you referring to using an unlimited-size integer for intermediate results?
i meant only that modulo operations should be implicitly used for fixed precision ints, not the general case ones it can be an implementation detail and even may be hidden from users at all i guess it's all up to you -- Pavel P.S. if you notice a grammar mistake or weird phrasing in my message please point it out