Changeset 2991


Ignore:
Timestamp:
Mar 29, 2013, 5:58:15 PM (5 years ago)
Author:
ksherdy
Message:

Added local carry combine macro to work around template specialization.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/carryQ.hpp

    r2987 r2991  
    4646template <uint16_t CarryCount, uint16_t AdvanceNCount> class CarryArray;
    4747
     48#define LocalCarryCombine(carrySet, localCarry, carryNo, carryCount)\
     49        carrySet.CarryCombine(localCarry.cq, carryNo, carryCount); 
     50
    4851#define CarryDeclare(name, carry1_count, carryN_count)\
    4952CarryArray<carry1_count, carryN_count> name;
Note: See TracChangeset for help on using the changeset viewer.