in reply to Non-portable warnings.

Wouldn't it be better to warn or die only when >32-bit constants are used on 32-bit platforms?
Or make 32 bits perl handle hex numbers bigger than 0xffffffff in the same way it handles them when given in base ten.

NVs can hold integers up to 2**48 on most (all?) platforms.

Replies are listed 'Best First'.
Re^2: Non-portable warnings.
by ikegami (Patriarch) on Jun 16, 2010 at 18:21 UTC
    I don't know where you got your number. IEEE doubles can hold integers from -253 to 253 (inclusive) with no loss of precision.
      oops, sorry, my memory betrayed me!