| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| X-Authentication-Warning: | jellyfish.iqrinc.com: Host vpn.iqrinc.com [64.148.223.162] claimed to be marlin |
| From: | "T.Phan" <tphan AT iqrinc DOT com> |
| To: | <cygwin AT cygwin DOT 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 |
| 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |