fixed: deleted default values for variables in some methods (file ttmathuint_x86.h)
(they should only be put in declaration) git-svn-id: svn://ttmath.org/publicrep/ttmath/trunk@128 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
parent
e665f91682
commit
a7a7eb7808
|
@ -75,7 +75,7 @@ namespace ttmath
|
||||||
function returns carry (1) (if it has been)
|
function returns carry (1) (if it has been)
|
||||||
*/
|
*/
|
||||||
template<uint value_size>
|
template<uint value_size>
|
||||||
uint UInt<value_size>::Add(const UInt<value_size> & ss2, uint c=0)
|
uint UInt<value_size>::Add(const UInt<value_size> & ss2, uint c)
|
||||||
{
|
{
|
||||||
register uint b = value_size;
|
register uint b = value_size;
|
||||||
register uint * p1 = table;
|
register uint * p1 = table;
|
||||||
|
@ -189,7 +189,7 @@ namespace ttmath
|
||||||
of course if there was a carry from table[2] it would be returned
|
of course if there was a carry from table[2] it would be returned
|
||||||
*/
|
*/
|
||||||
template<uint value_size>
|
template<uint value_size>
|
||||||
uint UInt<value_size>::AddInt(uint value, uint index = 0)
|
uint UInt<value_size>::AddInt(uint value, uint index)
|
||||||
{
|
{
|
||||||
register uint b = value_size;
|
register uint b = value_size;
|
||||||
register uint * p1 = table;
|
register uint * p1 = table;
|
||||||
|
@ -410,7 +410,7 @@ namespace ttmath
|
||||||
function returns carry (1) (if it has been)
|
function returns carry (1) (if it has been)
|
||||||
*/
|
*/
|
||||||
template<uint value_size>
|
template<uint value_size>
|
||||||
uint UInt<value_size>::Sub(const UInt<value_size> & ss2, uint c=0)
|
uint UInt<value_size>::Sub(const UInt<value_size> & ss2, uint c)
|
||||||
{
|
{
|
||||||
register uint b = value_size;
|
register uint b = value_size;
|
||||||
register uint * p1 = table;
|
register uint * p1 = table;
|
||||||
|
@ -518,7 +518,7 @@ namespace ttmath
|
||||||
of course if there was a carry from table[3] it would be returned
|
of course if there was a carry from table[3] it would be returned
|
||||||
*/
|
*/
|
||||||
template<uint value_size>
|
template<uint value_size>
|
||||||
uint UInt<value_size>::SubInt(uint value, uint index = 0)
|
uint UInt<value_size>::SubInt(uint value, uint index)
|
||||||
{
|
{
|
||||||
register uint b = value_size;
|
register uint b = value_size;
|
||||||
register uint * p1 = table;
|
register uint * p1 = table;
|
||||||
|
|
|
@ -77,7 +77,7 @@ namespace ttmath
|
||||||
{
|
{
|
||||||
uint b = value_size;
|
uint b = value_size;
|
||||||
uint * p1 = table;
|
uint * p1 = table;
|
||||||
const uint * p2 = const_cast<uint*>(ss2.table);
|
const uint * p2 = ss2.table;
|
||||||
uint dummy, dummy2;
|
uint dummy, dummy2;
|
||||||
|
|
||||||
// we don't have to use TTMATH_REFERENCE_ASSERT here
|
// we don't have to use TTMATH_REFERENCE_ASSERT here
|
||||||
|
|
Loading…
Reference in New Issue