digitAt:
Andrew C. Greenberg
werdna at mucow.com
Tue Feb 12 01:03:29 UTC 2002
x digitAt: y
is the yth digit from the right when writing x as a quantity base 256.
1 digitAt: 1 is 1
1 digitAt: 2 is 0
257 digitAt: 1 is 1
256 digitAt: 2 is 1
Its primary utility is for manipulating LargeIntegers, which are
internally represented as an array of bytes.
On Monday, February 11, 2002, at 09:25 PM,
<rallende at harlan.di.unc.edu.ar> wrote:
> Hello, where can i read about digitAt: method found on some subclasses
> of
> numbers, 'cause i readed the description at the implementation and i
> can't
> understand very well it's meaning.
>
> thanks
> r.
>
>
More information about the Squeak-dev
mailing list
|