TTMath

A bignum library written in the C++ programming language
Download

TTMath Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Price:
  • FREE
  • Publisher Name:
  • Tomasz Sowa
  • Publisher web site:
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 82 KB

TTMath Tags


TTMath Description

A bignum library written in the C++ programming language TTMath is a bignum library written in the C++ programming language as templates. TTMath provides standard mathematical operations like add, sub, mul, div, pow etc. with the big integer and big floating point numbers. What's New in This Release: · fixed: UInt::DivInt() didn't check whether the divisor is zero · there was a hardware interruption when the divisor was zero · (now the method returns one) · fixed: the problem with GCC optimization on x86_64 · sometimes when using -O2 or -O3 GCC doesn't set correctly · the stack pointer (actually the stack is used for other things) · and you can't use instructions like push/pop in assembler code. · All the asm code in x86_64 have been rewritten, now instructions · push/pop are not used, other thing which have access to stack · (like "m" (mask) constraints in Rcl2 and Rcr2) have also gone away, · now the library works well with -O2 and -O3 and the asm code · is a little faster · added: UInt::PrintLog(const char * msg, std::ostream & output) · used (for debugging purposes) by macro TTMATH_LOG(msg) · (it is used in nearly all methods in UInt class) · added: macro TTMATH_DEBUG_LOG: when defined then TTMATH_LOG() · put some debug information (to std::cout) · added: ttmathuint_x86.h, ttmathuint_x86_64.h, ttmathuint_noasm.h, · all the methods which are using assembler code have been · rewritten to no-asm forms


TTMath Related Software