tomasz.sowa 5c85249eaf fix: correctly set a bit in UInt<>::SetBitInWord(...) method
In the UInt<value_size>::SetBitInWord(...) method for non GNU
version there was an error in parameters passed to a intrinsic
_bittestandset64(...) function.

This affects only the 64 bit build for non GNU version
(such as Microsoft compiler) and only when TTMATH_NOASM
is not defined.

reported by: Victor <victor.tashkent at gmail.com>
2026-11-17 00:58:43 +01:00
2019-07-31 07:21:10 +00:00
2009-10-25 16:42:41 +00:00

A bignum library for C++



TTMath is a small library which allows one to perform arithmetic operations

with big unsigned integer, big signed integer and big floating point numbers.

It provides standard mathematical operations like adding, subtracting,

multiplying, dividing. With the library also goes a mathematical parser to

help you solving mathematical expressions.



TTMath is developed under the BSD licence which means that it is free for

both personal and commercial use.



The main goal of the library is to allow one to use big values in the same

way as the standard types like int or float. It does not need to be compiled

first because the whole library is written as the C++ templates. This means

only C++ developers can use this library and one thing they have to do is

to use 'include' directive of the preprocessor. How big the values can be

is set at compile time.



Author: Tomasz Sowa <t.sowa@ttmath.org>

WWW:    http://www.ttmath.org



Contributors:

Christian Kaiser <chk@online.de>

S
Description
TTMath is a small library which allows one to perform arithmetic operations with big unsigned integer, big signed integer and big floating point numbers.
Readme
1.4 MiB
0 Stars 1 Watchers 0 Forks
Languages
C++ 96.2%
Assembly 1.9%
Makefile 1.2%
Shell 0.6%