I've found the bug on Linux Sparc; This is either a bug in Parrot, or a bug in
Perl, and I can't tell which.
On this machine, NVs are doubles; their pack_type is 'd', which is as it should
be. So, a number (2.0) is inserted into the bytecode stream with pack('d', 2.0)
However, when I try
On this machine, NVs are doubles; their pack_type is 'd', which is
as it should be. So, a number (2.0) is inserted into the bytecode
stream with pack('d', 2.0)
./perl -Ilib -MDevel::Peek -le 'Dump(pack(d,2))'
SV = PV(0x1d9ed4) at 0x1e4568
REFCNT = 1
FLAGS = (PADTMP,POK,pPOK)
PV =
On Sun, Sep 23, 2001 at 02:17:40AM +0300, Jarkko Hietaniemi wrote:
unaligned access
Bother. It is as I feared.
Dan, we need to do something about this. The choices are: put floats into the
constant section, or ensure instructions are assigned on an appropriate
boundary. I can see pros and
On Saturday 22 September 2001 07:21 pm, Simon Cozens wrote:
On Sun, Sep 23, 2001 at 02:17:40AM +0300, Jarkko Hietaniemi wrote:
unaligned access
Bother. It is as I feared.
Dan, we need to do something about this. The choices are: put floats into
the constant section, or ensure instructions
On Sun, 23 Sep 2001, Simon Cozens wrote:
On Sun, Sep 23, 2001 at 02:17:40AM +0300, Jarkko Hietaniemi wrote:
unaligned access
Bother. It is as I feared.
Dan, we need to do something about this. The choices are: put floats into the
constant section, or ensure instructions are assigned
--- Simon Cozens [EMAIL PROTECTED] wrote:
On Sun, Sep 23, 2001 at 02:17:40AM +0300, Jarkko
Hietaniemi wrote:
unaligned access
Bother. It is as I feared.
Dan, we need to do something about this. The choices are:
put floats into the
constant section, or ensure instructions are assigned
On Sat, Sep 22, 2001 at 04:41:28PM -0700, Benjamin Stuhl wrote:
at load time. Yes, it's slow and hackish, but strings are
the only *portable* format for floating-point numbers
I thought (although I might have conveniently forgotten the other
side of the argument:) that we weren't that
On Sat, 22 Sep 2001, Benjamin Stuhl wrote:
--- Simon Cozens [EMAIL PROTECTED] wrote:
On Sun, Sep 23, 2001 at 02:17:40AM +0300, Jarkko
Hietaniemi wrote:
unaligned access
Bother. It is as I feared.
Dan, we need to do something about this. The choices are:
put floats into the
On Saturday 22 September 2001 07:33 pm, Simon Cozens wrote:
On Sat, Sep 22, 2001 at 04:41:28PM -0700, Benjamin Stuhl wrote:
at load time. Yes, it's slow and hackish, but strings are
the only *portable* format for floating-point numbers
I thought (although I might have conveniently