On Fri, 2 Mar 2001, Dan Sugalski wrote:

> =head2 Intger data types
> 
> Integer data types are generically referred to as C<INT>s. There is an
> C<INT> typedef that is guaranteed to hold any integer type.

[gazing into crystal ball . . . ] I predict some header somewhere is going
to already #define "INT".  Perhaps PERL_INT and PERL_NUM ?

Do you also want an unsigned variant?  (trying to spare Nick some of 
the sign preservation madness he's currently battling in perl5.)

> =item Platform-native integer
> 
> These are whatever size native integer was chosen at perl
> configuration time. The C-level typedef C<IV> and C<UV> get you a
> platform-native signed and unsigned integer respectively.

So presumably PERL_INT could be "long long" but IV might just be "long".
Hmm.  So how do you carry around a PERL_INT inside the perl6 source?

-- 
    Andy Dougherty              [EMAIL PROTECTED]
    Dept. of Physics
    Lafayette College, Easton PA 18042

Reply via email to