List Info

Thread: GNU Smalltalk 2.3.4 close to release




GNU Smalltalk 2.3.4 close to release
country flaguser name
Italy
2007-05-27 03:53:30
crewman6gmail.com wrote:
> _______________________________________________
> help-smalltalk mailing list
> help-smalltalkgnu.org
> 
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Thanks, I'll try to reproduce the failures on Debian G4.

Paolo


_______________________________________________
help-smalltalk mailing list
help-smalltalkgnu.org

http://lists.gnu.org/mailman/listinfo/help-smalltalk

GNU Smalltalk 2.3.4 close to release
country flaguser name
Italy
2007-05-28 05:01:18
Paolo Bonzini wrote:
> crewman6gmail.com wrote:
>> _______________________________________________
>> help-smalltalk mailing list
>> help-smalltalkgnu.org
>> 
http://lists.gnu.org/mailman/listinfo/help-smalltalk
> 
> Thanks, I'll try to reproduce the failures on Debian
G4.

Actually it does not depend on the OS, but rather on the
availability of 
GMP.  It is a stupid off-by-one error in LargeInteger
division.  When 
the result of the division has a number >=128 in its MSB,
the result is 
turned into a negative number.

The easiest fix is to allocate an extra byte for the result,
since 
#primDivide: is supposed to run on positive numbers only.

Paolo

_______________________________________________
help-smalltalk mailing list
help-smalltalkgnu.org

http://lists.gnu.org/mailman/listinfo/help-smalltalk

  
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )