public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "T.Phan" <tphan@iqrinc.com>
To: <cygwin@cygwin.com>
Subject: Cygwin Perl and Module  Math::BigInt
Date: Fri, 10 Aug 2001 13:41:00 -0000	[thread overview]
Message-ID: <INEPKNMIJJHADOKOHCMIOEKMEEAA.tphan@iqrinc.com> (raw)
In-Reply-To: <INEPKNMIJJHADOKOHCMIMEMJEDAA.tphan@iqrinc.com>

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/

  parent reply	other threads:[~2001-08-10 13:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-05 22:50 Perl modules Neil Lunn
2001-08-06  9:03 ` Timothy C. Phan
2001-08-06 22:48   ` Gerrit P. Haase
2001-08-10 13:41   ` T.Phan [this message]
2001-11-11  8:26 Cygwin Perl and Module Math::BigInt Heribert Dahms
     [not found] <KLN303589B45@koeln.convey.de>
2001-11-11  8:26 ` Gerrit P. Haase
2001-11-11  8:26   ` Tels
2001-11-11  8:26   ` Tels
2001-11-11  8:26 Tels

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=INEPKNMIJJHADOKOHCMIOEKMEEAA.tphan@iqrinc.com \
    --to=tphan@iqrinc.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).