[Curious] Integer division => fraction
Ned Konz
ned at bike-nomad.com
Fri Jun 13 04:35:33 UTC 2003
On Thursday 12 June 2003 06:21 pm, Richard A. O'Keefe wrote:
> For things like Point>>#to:intersects:to: and #interpolateTo:at:
> it is essential NOT to convert Fractions to Floats.
>
> In a quick test of several dozen Point operations, I haven't found
> any that doesn't like Fractions.
>
> So tell us exactly what goes wrong, and let's FIX it!
There are some primitives (notably bitBlt) that don't accept anything
but points with smallIntegers.
--
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE
More information about the Squeak-dev
mailing list
|