Mitchell N Charity <[EMAIL PROTECTED]> wrote:
> PerlNum may not be handling -0.0 correctly.

I do consider -0.0 as a bug ;)

> This
>   new P0, .PerlNum
>   set P0, 0.0

Both setting P0 to - or + zero has the same effect:
$ parrot -t 0.pasm
     0 new P0, 35       - P0=NULL,
     3 set P0, 0        - P0=PerlNum=PMC(0x40305850 Num:0 Int:0),
     6 print P0         - P0=PerlInt=PMC(0x40305850 Num:0 Int:0)

that is morphing the PerlNum to a PerlInt.

> Mitchell

leo

Reply via email to