[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gmp-bugs
Subject:    Very basic bug
From:       tg-this-will-bounce-but-I-am-subscribed-to-the-list-honest () swox ! com (Torbjorn Gr
Date:       2006-11-30 12:49:39
Message-ID: 86slg185gc.fsf () king ! swox ! se
[Download RAW message or body]

Emmanuel Thom? <Emmanuel.Thome at normalesup.org> writes:

  On Tue, Nov 28, 2006 at 07:18:04PM -0500, ?lvaro Begu? wrote:
  > GMP version: 4.2.1
  > 
  > 
  > Sample program:
  > 
  > #include <iostream>
  > #include <gmpxx.h>
  > 
  > int main(){
  >   mpz_class a=1,b=1,c=0;
  >   a=c+b*a;
  >   std::cout << a << std::endl; //Should print 1, but prints 0
  > }
  
  already reported and diagnosed ; will be fixed in the upcoming gmp
  release, torbjorn said.
  
  http://swox.com/list-archives/gmp-bugs/2006-October/000578.html
  
  current fix is to modify gmpxx.h yourself.
  
Current (as of today) fix is to go to http://swox.com/gmp/#STATUS and
download the "official" patch.

I had hoped to make 4.2.2 really quickly after this was discovered,
and therefore didn't publish this patch in a timely fashion.

-- 
Torbj?rn

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic