Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chfast/intx
/ functions
Functions
189 in github.com/chfast/intx
⨍
Functions
189
◇
Types & classes
23
↓ 49 callers
Function
slt
include/intx/intx.hpp:1248
↓ 39 callers
Function
count_significant_bytes
include/intx/intx.hpp:1339
↓ 24 callers
Function
umul
Full unsigned multiplication 64 x 64 -> 128.
include/intx/intx.hpp:438
↓ 20 callers
Function
sdivrem
test/utils/gmp.hpp:57
↓ 20 callers
Function
udivrem
test/utils/gmp.hpp:40
↓ 19 callers
Function
reciprocal_3by2
include/intx/intx.hpp:597
↓ 19 callers
Function
subc
Subtraction with carry (borrow).
include/intx/intx.hpp:142
↓ 18 callers
Function
clz
include/intx/intx.hpp:479
↓ 18 callers
Function
to_big_endian
include/intx/intx.hpp:1731
↓ 17 callers
Function
addc
Addition with carry.
include/intx/intx.hpp:114
↓ 17 callers
Function
expect_eq
test/fuzzer/fuzz_intx.cpp:24
↓ 14 callers
Function
to_string
test/benchmarks/benchmarks.cpp:556
↓ 13 callers
Function
bswap
include/intx/intx.hpp:506
↓ 12 callers
Function
ctz
include/intx/intx.hpp:484
↓ 12 callers
Function
exp
test/benchmarks/benchmarks.cpp:42
↓ 11 callers
Function
bit_width
Counts the number of bits needed to represent the value. For 0 returns 0. This works like std::bit_width, but returns unsigned.
include/intx/intx.hpp:492
↓ 11 callers
Function
hex
include/intx/intx.hpp:880
↓ 10 callers
Function
store
include/intx/intx.hpp:1759
↓ 10 callers
Function
to_little_endian
include/intx/intx.hpp:1713
↓ 9 callers
Function
bit_test
include/intx/intx.hpp:471
↓ 9 callers
Function
udivrem
include/intx/intx.hpp:682
↓ 8 callers
Function
reciprocal_2by1
Computes the reciprocal (2^128 - 1) / d - 2^64 for normalized d. Based on Algorithm 2 from "Improved division by invariant integers".
include/intx/intx.hpp:576
↓ 7 callers
Function
as_words
include/intx/intx.hpp:1258
↓ 7 callers
Function
count_significant_words
include/intx/intx.hpp:1329
↓ 7 callers
Function
trunc
include/intx/intx.hpp:1851
↓ 6 callers
Function
as_bytes
include/intx/intx.hpp:1270
↓ 5 callers
Function
normalize
include/intx/intx.hpp:1399
↓ 5 callers
Function
udivrem_2by1
include/intx/intx.hpp:628
↓ 3 callers
Function
addmod
test/utils/gmp.hpp:129
↓ 3 callers
Function
get_seed
test/utils/random.hpp:17
↓ 3 callers
Function
mulmod
include/intx/intx.hpp:1681
↓ 3 callers
Function
udivrem_3by2
include/intx/intx.hpp:652
↓ 2 callers
Function
decode_file
(file)
test/fuzzer/decode.py:15
↓ 2 callers
Function
fast_add
Optimized addition. This keeps the multiprecision addition until CodeGen so the pattern is not broken during other optimizations.
include/intx/intx.hpp:428
↓ 2 callers
Function
from_dec_digit
include/intx/intx.hpp:802
↓ 2 callers
Function
reciprocal_naive
test/experimental/div.hpp:7
↓ 2 callers
Function
submul
Subtract y multiplied by multiplier from x as: x[] -= multiplier * y[].
include/intx/intx.hpp:1508
↓ 1 callers
Function
add
test/utils/gmp.hpp:103
↓ 1 callers
Function
add
Add y to x as: x[] += y[].
include/intx/intx.hpp:1496
↓ 1 callers
Function
as_words
test/utils/random.cpp:19
↓ 1 callers
Function
clz_nonzero
Counts the number of zero leading bits in nonzero argument x.
include/intx/intx.hpp:1382
↓ 1 callers
Function
decode_data
(data)
test/fuzzer/decode.py:20
↓ 1 callers
Function
err
(*args, **kwargs)
test/fuzzer/decode.py:11
↓ 1 callers
Function
from_hex_digit
include/intx/intx.hpp:809
↓ 1 callers
Function
gen_uniform_seq
test/utils/random.hpp:42
↓ 1 callers
Function
init
test/utils/random.cpp:24
↓ 1 callers
Function
mul
test/utils/gmp.hpp:18
↓ 1 callers
Function
store_be
test/benchmarks/benchmarks.cpp:588
↓ 1 callers
Function
sub
test/utils/gmp.hpp:116
↓ 1 callers
Function
to_string
include/intx/intx.hpp:857
↓ 1 callers
Function
udivrem_by1
Divides arbitrary long unsigned integer by 64-bit unsigned integer (1 word). @param u The normalized numerator words. It will contain the quotient af
include/intx/intx.hpp:1449
↓ 1 callers
Function
udivrem_by2
Divides arbitrary long unsigned integer by 128-bit unsigned integer (2 words). @param u The normalized numerator words. It will contain the quotient
include/intx/intx.hpp:1474
↓ 1 callers
Function
udivrem_knuth
include/intx/intx.hpp:1525
Function
ADD256
test/analysis/add.cpp:5
Method
GetName
test/unittests/test_suite.hpp:29
Function
LE256
test/analysis/lt.cpp:15
Function
LLVMFuzzerCustomMutator
test/fuzzer/opmod_fuzz.cpp:20
Function
LLVMFuzzerTestOneInput
test/fuzzer/opmod_fuzz.cpp:28
Function
LLVMFuzzerTestOneInput
test/fuzzer/fuzz_intx.cpp:115
Function
LT128
test/analysis/lt.cpp:5
Function
LT256
test/analysis/lt.cpp:10
Function
SUB256
test/analysis/sub.cpp:5
Function
TEST
test/unittests/test_int128.cpp:192
Function
TEST
test/unittests/test_builtins.cpp:32
Function
TEST
test/unittests/test_uint256.cpp:80
Function
TEST
test/unittests/test_div.cpp:11
Function
TEST
test/unittests/test_intx_api.cpp:61
Function
TEST_F
test/unittests/test_uint256.cpp:44
Function
TYPED_TEST
test/unittests/test_bitwise.cpp:9
Function
TYPED_TEST
test/unittests/test_intx.cpp:9
Function
TYPED_TEST
test/unittests/test_intx_api.cpp:77
Function
UDIVREM_2BY1
test/analysis/div.cpp:5
Function
UDIVREM_4BY4
test/analysis/div.cpp:10
Method
Uint256Test
test/unittests/test_uint256.cpp:27
Function
add
test/benchmarks/benchmarks.cpp:22
Function
add_waterfall
test/experimental/add.cpp:52
Function
addmod
include/intx/intx.hpp:1647
Function
addmod_daosvik_v1
test/experimental/addmod.hpp:38
Function
addmod_daosvik_v2
test/experimental/addmod.hpp:65
Function
addmod_prenormalize
test/experimental/addmod.hpp:25
Function
addmod_public
test/experimental/addmod.hpp:10
Function
addmod_simple
test/experimental/addmod.hpp:16
Function
binop
test/benchmarks/benchmarks.cpp:189
Method
build
(self)
test/integration/conan_package/conanfile.py:15
Function
compare
test/benchmarks/benchmarks.cpp:449
Function
count_sigificant_words_256
test/benchmarks/benchmarks.cpp:539
Method
denorm_min
include/intx/intx.hpp:785
Function
div
test/benchmarks/benchmarks.cpp:48
Function
div_normalize
test/benchmarks/bench_div.cpp:46
Function
ecmod
test/benchmarks/benchmarks.cpp:129
Method
epsilon
include/intx/intx.hpp:780
Function
exp
include/intx/intx.hpp:1305
Function
exponentiation
test/benchmarks/benchmarks.cpp:493
Function
exponentiation2
test/benchmarks/benchmarks.cpp:526
Function
from_string
include/intx/intx.hpp:819
Function
gcc_
test/benchmarks/bench_int128.cpp:14
Function
gmp_
test/benchmarks/bench_int128.cpp:19
Method
infinity
include/intx/intx.hpp:782
Function
inline_add
test/benchmarks/benchmarks.cpp:165
Function
inline_sub
test/benchmarks/benchmarks.cpp:170
next →
1–100 of 189, ranked by callers