This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Cygwin Perl and Module Math::BigInt
- To: <cygwin at cygwin dot com>
- Subject: Cygwin Perl and Module Math::BigInt
- From: "T.Phan" <tphan at iqrinc dot com>
- Date: Fri, 10 Aug 2001 15:38:11 -0500
Hi,
I tried to 'make test' on the the Convert:ASN1 and it kept fail at
place where the Math::BigInt always returns NaN.
I cut out the segment below and ran it and sure enough, it return
NaN in Cygwin Perl. However, the same script return a number in
ActiveState Perl:
#--------------------------
use strict;
use Math::BigInt;
my $num = Math::BigInt->new(-1 * (1<<24) * (1<<24));
print "$num\n";
exit;
#----- Cygwin perl returns: NaN
#----- ActiveState perl returns : -281474976710656
Any idea how to fix this in Cygwin? Thank in advance!
---
tcp
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/