Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Scalar-Util-Numeric CPAN distribution.

Report information
The Basics
Id: 76065
Status: rejected
Priority: 0/
Queue: Scalar-Util-Numeric

People
Owner: Nobody in particular
Requestors: eco [...] ecocode.net
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.22
Fixed in: (no value)



Subject: long integers - cross platform
Hi, This test script for long integers returns different values depending of the platform... use feature say; use Scalar::Util::Numeric qw(isint); my @a = (12345612345, 1234561234 ); foreach (@a) { my $r = isint ($_) ? "INT":"NO INT"; say $_." ".$r; } result for windows XP 32bit: 12345612345 NO INT 1234561234 INT result for Macosx 64bit: 12345612345 INT 1234561234 INT In my idea both should return the same results ? -- Erik
sorry, this is of course due to the limit 32bit / 64bit integer -- Erik