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

Changeset 3700

Show
Ignore:
Timestamp:
07/03/08 06:22:25 (2 months ago)
Author:
Don Clugston
Message:

Rename: 'addsubcarry' => 'increment'.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/tango/math/impl/BignumX86.d

    r3674 r3700  
    2424 * at www.agner.org. 
    2525 * Not optimal for AMD64, which can do two memory loads per cycle (Intel 
    26  * CPUs can only do one). 
     26 * CPUs can only do one). Division is far from optimal. 
    2727 * 
    2828 *  Timing results (cycles per int) 
     
    3535 *  mulAdd   5.4 
    3636 *  div     18.0 
     37 * 
    3738 */ 
    3839 
     
    178179 *  Returns final carry or borrow (0 or 1) 
    179180 */ 
    180 uint multibyteAddSubCarry(char op)(uint[] dest, uint carry) 
     181uint multibyteIncrement(char op)(uint[] dest, uint carry) 
    181182{ 
    182183    enum { LASTPARAM = 1*4 } // 0* pushes + return address.