|
![](/i/fill.gif) |
On 8/22/2011 1:14, Invisible wrote:
> You realise that all of the quantities involved are rational, right?
Uh, no? Sqrt(2) for a 45-degree line thru a pixel sort of thing?
> that a rational number is just two integers?
That would be the "fixed point" part of my comment. Of course, if you want
high precision rationals, you might wind up with multi-word integers, at
which point you might as well just use floating point unless you're back on
8-bit hardware or something.
--
Darren New, San Diego CA, USA (PST)
How come I never get only one kudo?
Post a reply to this message
|
![](/i/fill.gif) |