MCPcopy Create free account

hub / github.com/chfast/intx / functions

Functions189 in github.com/chfast/intx

↓ 49 callersFunctionslt
include/intx/intx.hpp:1248
↓ 39 callersFunctioncount_significant_bytes
include/intx/intx.hpp:1339
↓ 24 callersFunctionumul
Full unsigned multiplication 64 x 64 -> 128.
include/intx/intx.hpp:438
↓ 20 callersFunctionsdivrem
test/utils/gmp.hpp:57
↓ 20 callersFunctionudivrem
test/utils/gmp.hpp:40
↓ 19 callersFunctionreciprocal_3by2
include/intx/intx.hpp:597
↓ 19 callersFunctionsubc
Subtraction with carry (borrow).
include/intx/intx.hpp:142
↓ 18 callersFunctionclz
include/intx/intx.hpp:479
↓ 18 callersFunctionto_big_endian
include/intx/intx.hpp:1731
↓ 17 callersFunctionaddc
Addition with carry.
include/intx/intx.hpp:114
↓ 17 callersFunctionexpect_eq
test/fuzzer/fuzz_intx.cpp:24
↓ 14 callersFunctionto_string
test/benchmarks/benchmarks.cpp:556
↓ 13 callersFunctionbswap
include/intx/intx.hpp:506
↓ 12 callersFunctionctz
include/intx/intx.hpp:484
↓ 12 callersFunctionexp
test/benchmarks/benchmarks.cpp:42
↓ 11 callersFunctionbit_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 callersFunctionhex
include/intx/intx.hpp:880
↓ 10 callersFunctionstore
include/intx/intx.hpp:1759
↓ 10 callersFunctionto_little_endian
include/intx/intx.hpp:1713
↓ 9 callersFunctionbit_test
include/intx/intx.hpp:471
↓ 9 callersFunctionudivrem
include/intx/intx.hpp:682
↓ 8 callersFunctionreciprocal_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 callersFunctionas_words
include/intx/intx.hpp:1258
↓ 7 callersFunctioncount_significant_words
include/intx/intx.hpp:1329
↓ 7 callersFunctiontrunc
include/intx/intx.hpp:1851
↓ 6 callersFunctionas_bytes
include/intx/intx.hpp:1270
↓ 5 callersFunctionnormalize
include/intx/intx.hpp:1399
↓ 5 callersFunctionudivrem_2by1
include/intx/intx.hpp:628
↓ 3 callersFunctionaddmod
test/utils/gmp.hpp:129
↓ 3 callersFunctionget_seed
test/utils/random.hpp:17
↓ 3 callersFunctionmulmod
include/intx/intx.hpp:1681
↓ 3 callersFunctionudivrem_3by2
include/intx/intx.hpp:652
↓ 2 callersFunctiondecode_file
(file)
test/fuzzer/decode.py:15
↓ 2 callersFunctionfast_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 callersFunctionfrom_dec_digit
include/intx/intx.hpp:802
↓ 2 callersFunctionreciprocal_naive
test/experimental/div.hpp:7
↓ 2 callersFunctionsubmul
Subtract y multiplied by multiplier from x as: x[] -= multiplier * y[].
include/intx/intx.hpp:1508
↓ 1 callersFunctionadd
test/utils/gmp.hpp:103
↓ 1 callersFunctionadd
Add y to x as: x[] += y[].
include/intx/intx.hpp:1496
↓ 1 callersFunctionas_words
test/utils/random.cpp:19
↓ 1 callersFunctionclz_nonzero
Counts the number of zero leading bits in nonzero argument x.
include/intx/intx.hpp:1382
↓ 1 callersFunctiondecode_data
(data)
test/fuzzer/decode.py:20
↓ 1 callersFunctionerr
(*args, **kwargs)
test/fuzzer/decode.py:11
↓ 1 callersFunctionfrom_hex_digit
include/intx/intx.hpp:809
↓ 1 callersFunctiongen_uniform_seq
test/utils/random.hpp:42
↓ 1 callersFunctioninit
test/utils/random.cpp:24
↓ 1 callersFunctionmul
test/utils/gmp.hpp:18
↓ 1 callersFunctionstore_be
test/benchmarks/benchmarks.cpp:588
↓ 1 callersFunctionsub
test/utils/gmp.hpp:116
↓ 1 callersFunctionto_string
include/intx/intx.hpp:857
↓ 1 callersFunctionudivrem_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 callersFunctionudivrem_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 callersFunctionudivrem_knuth
include/intx/intx.hpp:1525
FunctionADD256
test/analysis/add.cpp:5
MethodGetName
test/unittests/test_suite.hpp:29
FunctionLE256
test/analysis/lt.cpp:15
FunctionLLVMFuzzerCustomMutator
test/fuzzer/opmod_fuzz.cpp:20
FunctionLLVMFuzzerTestOneInput
test/fuzzer/opmod_fuzz.cpp:28
FunctionLLVMFuzzerTestOneInput
test/fuzzer/fuzz_intx.cpp:115
FunctionLT128
test/analysis/lt.cpp:5
FunctionLT256
test/analysis/lt.cpp:10
FunctionSUB256
test/analysis/sub.cpp:5
FunctionTEST
test/unittests/test_int128.cpp:192
FunctionTEST
test/unittests/test_builtins.cpp:32
FunctionTEST
test/unittests/test_uint256.cpp:80
FunctionTEST
test/unittests/test_div.cpp:11
FunctionTEST
test/unittests/test_intx_api.cpp:61
FunctionTEST_F
test/unittests/test_uint256.cpp:44
FunctionTYPED_TEST
test/unittests/test_bitwise.cpp:9
FunctionTYPED_TEST
test/unittests/test_intx.cpp:9
FunctionTYPED_TEST
test/unittests/test_intx_api.cpp:77
FunctionUDIVREM_2BY1
test/analysis/div.cpp:5
FunctionUDIVREM_4BY4
test/analysis/div.cpp:10
MethodUint256Test
test/unittests/test_uint256.cpp:27
Functionadd
test/benchmarks/benchmarks.cpp:22
Functionadd_waterfall
test/experimental/add.cpp:52
Functionaddmod
include/intx/intx.hpp:1647
Functionaddmod_daosvik_v1
test/experimental/addmod.hpp:38
Functionaddmod_daosvik_v2
test/experimental/addmod.hpp:65
Functionaddmod_prenormalize
test/experimental/addmod.hpp:25
Functionaddmod_public
test/experimental/addmod.hpp:10
Functionaddmod_simple
test/experimental/addmod.hpp:16
Functionbinop
test/benchmarks/benchmarks.cpp:189
Methodbuild
(self)
test/integration/conan_package/conanfile.py:15
Functioncompare
test/benchmarks/benchmarks.cpp:449
Functioncount_sigificant_words_256
test/benchmarks/benchmarks.cpp:539
Methoddenorm_min
include/intx/intx.hpp:785
Functiondiv
test/benchmarks/benchmarks.cpp:48
Functiondiv_normalize
test/benchmarks/bench_div.cpp:46
Functionecmod
test/benchmarks/benchmarks.cpp:129
Methodepsilon
include/intx/intx.hpp:780
Functionexp
include/intx/intx.hpp:1305
Functionexponentiation
test/benchmarks/benchmarks.cpp:493
Functionexponentiation2
test/benchmarks/benchmarks.cpp:526
Functionfrom_string
include/intx/intx.hpp:819
Functiongcc_
test/benchmarks/bench_int128.cpp:14
Functiongmp_
test/benchmarks/bench_int128.cpp:19
Methodinfinity
include/intx/intx.hpp:782
Functioninline_add
test/benchmarks/benchmarks.cpp:165
Functioninline_sub
test/benchmarks/benchmarks.cpp:170
next →1–100 of 189, ranked by callers