Skip Menu |

This queue is for tickets about the Math-GMP CPAN distribution.

Report information
The Basics
Id: 12751
Status: resolved
Priority: 0/
Queue: Math-GMP

People
Owner: Nobody in particular
Requestors: peter [...] adpm.de
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 2.04
Fixed in: 2.05



Subject: Math::GMP 2.04 tests fail x86_64 arch on Linux
Hi, the tests for Math::GMP 2.04 fail on the x86_64 architecture (i.e. AMD64, EMT64) on Linux (tested on SLES9) since the 64bit architecture can handle a larger range of integers correctly. The attached file patches the test script so that the tests pass again It would be nice to have some kind of autodetection that the tests pass 32bit & 64bit architectures
--- t/gmppm.t +++ t/gmppm.t 2005-05-11 08:29:44.880345280 +0200 @@ -418,16 +418,16 @@ -5000:i2:13 &uintify +15:15 -+9999999999:1410065407 -+99999999999:1215752191 -+999999999999:3567587327 ++9999999999:9999999999 ++99999999999:99999999999 ++999999999999:999999999999 &add_ui +999999:i1:1000000 +9999999:i1:10000000 +99999999:i1:100000000 &intify +999999999:999999999 -+9999999999:1410065407 ++9999999999:9999999999 &mul_2exp +9999:i9:5119488 +99999:i9:51199488
Fixed in version 2.05 (with autodetection), thanks for the report.
Subject: Re: [rt.cpan.org #12751] Resolved: Math::GMP 2.04 tests fail x86_64 arch on Linux
Date: Wed, 8 Oct 2008 09:47:12 +0200
To: bug-Math-GMP [...] rt.cpan.org
From: Peter Marschall <peter [...] adpm.de>
On Tuesday, 7. October 2008, Greg Sabino Mullane via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=12751 > > > According to our records, your request has been resolved. If you have any > further questions or concerns, please respond to this message.
Thanks ! -- Peter Marschall peter@adpm.de