Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changeset 5403

Show
Ignore:
Timestamp:
03/11/10 22:52:06 (2 years ago)
Author:
kris
Message:

partial fix for #1878 :: BigInt? Division/Modulus Not Working

kudos to Sage Rat

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/tango/math/internal/BiguintCore.d

    r5158 r5403  
    2424*/  
    2525module tango.math.internal.BiguintCore; 
     26 
     27version=TangoBignumNoAsm;       /// temporal: see ticket #1878 
    2628 
    2729version(GNU){ 
     
    459461        // perfect power of 2 
    460462        uint b = 0; 
     463        y >>= 1; // pre-shift once (kudos to Sage Rat) 
    461464        for (;y!=0; y>>=1) { 
    462465            ++b;