On Tue, Jul 07, 1998 at 05:34:49AM -0600, Karl F. Larsen wrote:
>       As expected it was the ignorance of the user, not a problem with
> the function. The user thought proper usage was "int" and "long" as
> classes of numbers. But the proper usage is "short int" and "long int" or
> if your lazy, "long" and "short" work.
> 
>       Default plain "int" is defined as "long int". I fooled around with
> a 4 byte floating point and it works, if you do some odd arithmatic.
> 
>       Thanks to the the notes that kept me playing. I would still be
> confused without your help

Of course, then there's the long long, which is 64 bit. And the
"long long long" perhaps, except:

gcc test.c
test.c: In function `main':
test.c:5: `long long long' is too long for GCC


:-)


Hamish
-- 
Hamish Moffatt, StudIEAust              [EMAIL PROTECTED], [EMAIL PROTECTED]
Student, computer science & computer systems engineering.    4th year, RMIT.
http://hamish.home.ml.org/ (PGP key here)             CPOM: [*******   ] 70%
Matter cannot be created or destroyed, nor returned without a receipt.

Reply via email to