delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/15/11:30:05

Message-Id: <200111151629.fAFGTw628707@delorie.com>
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-pair-Authenticated: 217.225.77.186
X-Mailer: XFMail 1.4.0 on Linux
X-Priority: 3 (Normal)
MIME-Version: 1.0
In-Reply-To: <8514151749.20011114212317@familiehaase.de>
Date: Thu, 15 Nov 2001 17:27:33 +0100 (CET)
Organization: none
From: Tels <perl_dummy AT bloodgate DOT com>
To: cygwin <cygwin AT cygwin DOT com>
Subject: Re: Cygwin Perl and Module Math::BigInt
Cc: tphan AT iqrinc DOT com, Gerrit AT convey DOT de

-----BEGIN PGP SIGNED MESSAGE-----

Moin,

okay, I repeat my question because it got lost somehow:

On 14-Nov-01 Gerrit P. Haase tried to scribble about:
> Hallo Tels,
> Without Math::BigInt->new() (I added several print statements):
> $ perl t/06bigint.t

What is this? Which tests are you running? I need to know that to
investigate the failures, otherwise I can't fix it.


> 1..35
> [...]
> $num is now: -2.8147497671066e+14
>#32: expecting hex:0207ff000000000000
>#32:       got hex:0207fefffffffffffc
>#line 93 t/06bigint.t
> not ok 32
> ok 33
> ok 34
>#35: expecting -2.8147497671066e+14
>#35:       got -281474976710656
>#line 96 t/06bigint.t
> not ok 35
> 
> If I change it back:
> 
> $num is now: -281474976710660
>#32: expecting hex:0207ff000000000000
>#32:       got hex:0207fefffffffffffc
>#line 90 t/06bigint.t
> not ok 32
> ok 33
> ok 34
>#35: expecting -281474976710660
>#35:       got -281474976710656
>#line 93 t/06bigint.t
> not ok 35

Cheers,


Tels

- --
 "Why do you go so slowly? Do you think this is some kind of game?"
 PGP key available on http://bloodgate.com/tels.asc or via email.
 perl -MDev::Bollocks -e'print Dev::Bollocks->rand(),"\n"'
 seamlessly engineer plug-and-play users



-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: latin1

iQEVAwUBO/PsJ3cLPEOTuEwVAQEQ9wf/SoCIUhTCGtN13+qk2YxGMQHsfHbPpiFP
fPZ8w44Dr/u98HWa6OHBxx84MR23NfUqubN6FVIrV9YMG8m+O3Rvcv2rCi96EjvY
Iz5X2rtdEmdohIRgmtIlL6lpbxKJAHrasHKu/+hm1NFOVM0fyFlV3aTnrLX7csTB
cWgHKcgEh6ESJJDHSwZrCsvHuwB+tSFqvpe+tyjCHrZ7NUyz/VSTTwCGyc60CAYB
fVwnpOgSei5k16/AhvGVKcqfA9Anmf5Lvbn65fAQAzRqerFms1b+m8LMwTkWIiyH
5T4iXUDULimUc/APmzL29pGQJes3Chz1qW2tQoapKY50JkapgRstHw==
=hHLa
-----END PGP SIGNATURE-----

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019