[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gmp-3.1.1 and IRIX/SGI
From: |
Jorgen Lundman |
Subject: |
gmp-3.1.1 and IRIX/SGI |
Date: |
Fri, 30 Nov 2001 17:42:26 +0000 |
Sorry to bother you people but I've just experienced some difficulty
with gmp-3.1.1 and my sgi - it produces different results from mpz_powm
than any other machine and architecture I've tried.
The machines that work are:
NetBSD netbsd 1.5 NetBSD 1.5 (netbsd) #7: Sat Oct 27 16:24:08 BST 2001
i386
+ gmp-3.1.1 with gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
SunOS isle 5.8 Generic_108528-01 sun4u sparc SUNW,Ultra-60
+ gmp-3.1.1 with gcc version 2.95.2 19991024 (release)
Linux boing 2.2.18pre11-va1.10 #7 SMP Sat Feb 3 00:53:43 CST 2001 i686
unknown
+ gmp-3.1.1 with gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2
release)
Window 2000 sp2
+ gmp-3.1.1 (own mods to make it compile) with MSVC++ 6
The non-working machine is:
IRIX Ricochet 6.5.3 01221642 IP22
+ gmp-3.1.1 with gcc version 2.8.1
I've included the source file I have used, but essentially I am
executing the line
mpz_powm(worker, g, u1, p ); // a_exp_b_mod_c(g, u1, p)
On NetBSD, Solaris, Linux and Win32 I end up with the result:
113387536878549907269926226109200588281962476968290885167830578936487326522226843918620464401859348776156828569123185579856689445062632316028817943939010013311751494237694223944009257294557568575928231813754963922271160805059199380610202246079298499852172708715946413576721705360891750815631866545632046247443
== a_exp_b_mod_c(g, u1, p)
where as on the SGI/IRIX it yields:
55721754199200901538378256881720542328298046247666142542713932563771485115811021124294697230384239970666330316862345558242749714314622278462277695837064939284279336276047235183796295174674812690538754381154001563697648195729245728776527654294608246067765816467651506985338904696574648130429730055469160212698
== a_exp_b_mod_c(g, u1, p)
Lundy
--
Jorgen "Lord" Lundman <address@hidden>
Technology Manager, Unix Administrator
Phone: +44 (0)20-86591860 Mobile: +44 (0)79-58642918
Pager: address@hidden
"Rare is the person who can weigh the faults of others
without putting his thumb on the scales": Byron J. Langenfeld
testgmp2.c
Description: application/unknown-content-type-cfile
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gmp-3.1.1 and IRIX/SGI,
Jorgen Lundman <=