-unsigned long BigInteger::toUnsignedLong() const {
- return convertToUnsignedPrimitive<unsigned long>();
-}
-unsigned int BigInteger::toUnsignedInt() const {
- return convertToUnsignedPrimitive<unsigned int>();
-}
-unsigned short BigInteger::toUnsignedShort() const {
- return convertToUnsignedPrimitive<unsigned short>();
-}
-long BigInteger::toLong() const {
- return convertToSignedPrimitive<long, unsigned long>();
-}
-int BigInteger::toInt() const {
- return convertToSignedPrimitive<int, unsigned int>();
-}
-short BigInteger::toShort() const {
- return convertToSignedPrimitive<short, unsigned short>();
-}
+unsigned long BigInteger::toUnsignedLong () const { return convertToUnsignedPrimitive((unsigned long )0) ; }
+unsigned int BigInteger::toUnsignedInt () const { return convertToUnsignedPrimitive((unsigned int )0) ; }
+unsigned short BigInteger::toUnsignedShort() const { return convertToUnsignedPrimitive((unsigned short)0) ; }
+long BigInteger::toLong () const { return convertToSignedPrimitive ((long )0, (unsigned long )0); }
+int BigInteger::toInt () const { return convertToSignedPrimitive ((int )0, (unsigned int )0); }
+short BigInteger::toShort () const { return convertToSignedPrimitive ((short)0, (unsigned short)0); }