Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
X-Authentication-Warning: jellyfish.iqrinc.com: Host vpn.iqrinc.com [64.148.223.162] claimed to be marlin
From: "T.Phan" <tphan@iqrinc.com>
To: <cygwin@cygwin.com>
Subject: Cygwin Perl and Module  Math::BigInt
Date: Fri, 10 Aug 2001 15:38:11 -0500
Message-ID: <INEPKNMIJJHADOKOHCMIOEKMEEAA.tphan@iqrinc.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
In-Reply-To: <INEPKNMIJJHADOKOHCMIMEMJEDAA.tphan@iqrinc.com>
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
Importance: Normal

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/

