R. Clayton (rclayton@monmouth.edu)
(no date)
When we rotate or scale numbers, are the integers rounded to the nearest
integer or is the transformation such that the integers are integers.
You ask a difficult question, one that I can't answer. The transformations
should aways result in integers, but scaling and rotation will probably involve
non-integer values.
My recommendation is to deal with floating point throughout, converting from
ints at the beginning and converting to ints at the end. If you're careful
with your floating-point numbers, conversion to ints should be a simple round
to nearest integer.
This archive was generated by hypermail 2.0b3 on Thu Dec 18 2003 - 16:15:05 EST