Dan Sugalski wrote:
>  I'm going to formally establish a basic set of
> parrot PMC classes. We're going to now have:
>
>  Undef - The undefined value. Looks like 0, 0.0, false, or the empty
> string, depending on how you peer at it. Can transform into any other
> type. Assignment of an boolean, integer, float, bignum, or string turns
> it into a PMC of type Boolean, Integer, Float, BigNum, or String.
>
>   Boolean - Basic true/false PMC
>
>   Integer - Basic integer.
>
>   Float - Basic floating point.
>
>   BigNum - Basic extended-precision number
>
>   String - Basic string
>
> The Boolean, Integer, Float, BigNum, and String types (and yes, BigNum
> and String don't exist. Yet) maintain their types and autoconvert
> incoming data, Undef morphs itself to the destination type and goes from
> there.

Hi,

how about having complex numbers as another basic PMC?
At least QCL, http://tph.tuwien.ac.at/~oemer/qcl.html, C99 and PDL, http://pdl.perl.org/, have them as a basic type.


CU, Bernhard

--
**************************************************
Bernhard Schmalhofer
Senior Developer
Biomax Informatics AG
Lochhamer Str. 11
82152 Martinsried, Germany
Tel: +49 89 895574-839
Fax: +49 89 895574-825
eMail: [EMAIL PROTECTED]
Website: www.biomax.com
**************************************************



Reply via email to