[aplusdev] Primitive function Deal?
Alexander Skomorokhov
askom at obninsk.com
Thu Sep 6 23:53:35 EDT 2001
Hi Jon,
> I tried your Deal examples on our internal version of A+,
> and everything worked fine-- no errors. But then I tried
> them on our distributed CD version, and Oh my! You are
Good (bad in general, but at least reproducible "bad":-).
Thanks for trying CD version.
> "Restricted whole number" is just a broader definition of
> integer. We tend to mix up two ideas when we speak of
> integers: Sometimes we mean numbers that have no fractional
> part, and sometimes we mean that the data type is actually
> integer. For example, "2.0" and 2147483648 are whole numbers,
> but they are represented as floating point numbers within A+.
> So, the original writer of the A+ manuals (Don Orth) was a
> bit more precise with those terms. For functions which
Hmm... I think this "precise" definition leads to misunderstanding.
(When I met my error and first went to a manual I first thought that for
some crazy reason integers were restricted up to 16:-)))
You know, in all computer books (I ever seen) 2 is considered as
an integer and 2.0 is a flouting point number. Anyway, I am happy that
it's all about "restriction". Thanks.
Sasha.
More information about the apluslist
mailing list