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:
Tomasz Sowa 2009-05-05 07:47:10 +00:00
parent e665f91682
commit a7a7eb7808
2 changed files with 5 additions and 5 deletions

View File

@ -75,7 +75,7 @@ namespace ttmath
function returns carry (1) (if it has been)
*/
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 * p1 = table;
@ -189,7 +189,7 @@ namespace ttmath
of course if there was a carry from table[2] it would be returned
*/
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 * p1 = table;
@ -410,7 +410,7 @@ namespace ttmath
function returns carry (1) (if it has been)
*/
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 * p1 = table;
@ -518,7 +518,7 @@ namespace ttmath
of course if there was a carry from table[3] it would be returned
*/
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 * p1 = table;

View File

@ -77,7 +77,7 @@ namespace ttmath
{
uint b = value_size;
uint * p1 = table;
const uint * p2 = const_cast<uint*>(ss2.table);
const uint * p2 = ss2.table;
uint dummy, dummy2;
// we don't have to use TTMATH_REFERENCE_ASSERT here