----- Original Message ----- From: "Nicholas Clark" <[EMAIL PROTECTED]>
.
.
Something like

       printf("forced UV: %"UVuf"\n", SvUV(integer));

? [not tested]


Yes - that gets at the value in the IV slot. Sadly, that value is 144115188075868224 (not the desired 144115188075868217).

But then, it's an NV - so, of course, precision has been lost !!

The following tests on $x (the IV) and $y (the NV) return true:

$x == $y
$x + 1 == $y + 1
$x - 1 == $y - 1

I took that to indicate that $y did, in fact, hold the same value as $x (ie 144115188075868217), and that my problem was just one of how to get at that value.

I now find that the following tests also return true:

$x == $y + 1
$x == $y -1

which would suggest that precision has, in fact, been lost.

Thanks Nicholas.

Cheers,
Rob

Reply via email to