Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PetteriAimonen/libfixmath
/ functions
Functions
148 in github.com/PetteriAimonen/libfixmath
⨍
Functions
148
◇
Types & classes
2
↓ 65 callers
Function
fix16_to_dbl
libfixmath/fix16.h:59
↓ 64 callers
Function
fix16_from_int
Conversion functions between fix16_t and float/integer. * These are inlined to allow compiler to optimize away constant numbers */
libfixmath/fix16.h:57
↓ 58 callers
Function
fix16_mul
libfixmath/fix16.c:70
↓ 35 callers
Function
fix16_div
libfixmath/fix16.c:292
↓ 29 callers
Function
fix16_from_dbl
libfixmath/fix16.h:81
↓ 29 callers
Function
print_value
benchmarks/interface.c:4
↓ 21 callers
Function
fix16_from_float
libfixmath/fix16.h:72
↓ 15 callers
Function
fix16_sadd
Saturating arithmetic */
libfixmath/fix16.c:40
↓ 12 callers
Function
fix16_from_str
libfixmath/fix16_str.c:76
↓ 12 callers
Function
print
benchmarks/interface.c:9
↓ 11 callers
Function
fix16_sqrt
The square root algorithm is quite directly from * http://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Binary_numeral_system_.28base_2.29
libfixmath/fix16_sqrt.c:12
↓ 11 callers
Function
fix16_to_str
libfixmath/fix16_str.c:44
↓ 10 callers
Function
f16_to_float
(val)
benchmarks/generate_testcases.py:22
↓ 10 callers
Function
fix16_sdiv
Wrapper around fix16_div to add saturating arithmetic. */
libfixmath/fix16.c:451
↓ 9 callers
Function
fix16_smul
Wrapper around fix16_mul to add saturating arithmetic. */
libfixmath/fix16.c:257
↓ 9 callers
Function
to_ui32
(val)
benchmarks/generate_testcases.py:31
↓ 8 callers
Function
int64_add
libfixmath/int64.h:21
↓ 8 callers
Function
int64_shift
libfixmath/int64.h:24
↓ 7 callers
Function
fix16_atan2
libfixmath/fix16_trig.c:159
↓ 7 callers
Function
fix16_lerp16
libfixmath/fix16.c:494
↓ 7 callers
Function
fix16_lerp32
libfixmath/fix16.c:502
↓ 7 callers
Function
fix16_lerp8
libfixmath/fix16.c:486
↓ 7 callers
Function
fix_abs
libfixmath/fix16.h:242
↓ 6 callers
Function
delta
benchmarks/benchmark.c:48
↓ 6 callers
Function
fix16_asin
libfixmath/fix16_trig.c:132
↓ 6 callers
Function
float_to_f16
(val)
benchmarks/generate_testcases.py:25
↓ 5 callers
Function
fix16_sin
libfixmath/fix16_trig.c:56
↓ 5 callers
Function
fix16_ssub
libfixmath/fix16.c:50
↓ 5 callers
Function
fix16_tan
libfixmath/fix16_trig.c:123
↓ 5 callers
Function
fix16_to_float
libfixmath/fix16.h:58
↓ 5 callers
Function
int64_neg
libfixmath/int64.h:22
↓ 4 callers
Function
fix16_acos
libfixmath/fix16_trig.c:154
↓ 4 callers
Function
fix16_cos
libfixmath/fix16_trig.c:118
↓ 4 callers
Function
hiclock
fixtest/hiclock.c:15
↓ 4 callers
Function
int64_from_int32
libfixmath/int64.h:17
↓ 4 callers
Function
int64_mul_i32_i32
libfixmath/int64.h:26
↓ 3 callers
Function
int64_const
libfixmath/int64.h:16
↓ 3 callers
Function
isdigit
libfixmath/fix16_str.c:8
↓ 2 callers
Function
fix16__log2_inner
* This assumes that the input value is >= 1. * * Note that this is only ever called with inValue >= 1 (because it has a wrapper to check. * As
libfixmath/fix16_exp.c:127
↓ 2 callers
Function
fix16_add
libfixmath/fix16.h:118
↓ 2 callers
Function
fix16_atan
libfixmath/fix16_trig.c:209
↓ 2 callers
Function
fix16_exp
libfixmath/fix16_exp.c:17
↓ 2 callers
Function
fix16_rs
libfixmath/fix16_exp.c:111
↓ 2 callers
Function
fix16_sub
libfixmath/fix16.h:119
↓ 2 callers
Function
fract32_usmul
libfixmath/fract32.c:18
↓ 2 callers
Function
int64_lo
libfixmath/int64.h:19
↓ 2 callers
Function
int64_mul_i64_i32
libfixmath/int64.h:27
↓ 2 callers
Function
int64_sub
libfixmath/int64.h:23
↓ 2 callers
Function
isspace
libfixmath/fix16_str.c:13
↓ 2 callers
Function
itoa_loop
libfixmath/fix16_str.c:26
↓ 1 callers
Function
butterfly
Mix N blocksize-sized transforms pairwise together to get N/2 2*blocksize-sized transforms.
libfixmath/fix16_fft.c:59
↓ 1 callers
Function
clz
libfixmath/fix16.c:282
↓ 1 callers
Function
end_timing
benchmarks/interface-avr.c:31
↓ 1 callers
Function
fix16_abs
libfixmath/fix16.h:102
↓ 1 callers
Function
fix16_add
libfixmath/fix16.c:9
↓ 1 callers
Function
fix16_log2
* calculates the log base 2 of input. * Note that negative inputs are invalid! (will return fix16_overflow, since there are no exceptions) * *
libfixmath/fix16_exp.c:170
↓ 1 callers
Function
fix16_max
libfixmath/fix16.h:110
↓ 1 callers
Function
fix16_min
libfixmath/fix16.h:108
↓ 1 callers
Function
fix16_sub
libfixmath/fix16.c:25
↓ 1 callers
Function
fix16_to_int
libfixmath/fix16.h:61
↓ 1 callers
Function
four_point_dft
Fast calculation of DFT for a 4-point signal. Based on the simplicity of 4-point sinewave.
libfixmath/fix16_fft.c:40
↓ 1 callers
Function
hiclock_init
fixtest/hiclock.c:7
↓ 1 callers
Function
ilog2
Base-2 integer logarithm
libfixmath/fix16_fft.c:110
↓ 1 callers
Function
int64_cmp_ge
libfixmath/int64.h:34
↓ 1 callers
Function
int64_cmp_lt
libfixmath/int64.h:35
↓ 1 callers
Function
int64_hi
libfixmath/int64.h:18
↓ 1 callers
Function
interface_init
benchmarks/interface-avr.c:15
↓ 1 callers
Function
rbit_32
Reverse bits in a 32-bit number
libfixmath/fix16_fft.c:89
↓ 1 callers
Function
rbit_n
Reverse bits in an n-bit number.
libfixmath/fix16_fft.c:104
↓ 1 callers
Method
sqrt
libfixmath/fix16.hpp:178
↓ 1 callers
Function
start_timing
benchmarks/interface-avr.c:26
↓ 1 callers
Function
test_abs
tests/tests_basic.c:28
↓ 1 callers
Function
test_abs_short
tests/tests_basic.c:4
↓ 1 callers
Function
test_acos_boundaries
Test fix16_acos boundary cases */
tests/tests_trig.c:35
↓ 1 callers
Function
test_add
tests/tests_basic.c:66
↓ 1 callers
Function
test_add_short
tests/tests_basic.c:34
↓ 1 callers
Function
test_asin_boundaries
Test fix16_asin boundary cases */
tests/tests_trig.c:6
↓ 1 callers
Function
test_atan2_boundaries
Test fix16_atan2 boundary cases */
tests/tests_trig.c:89
↓ 1 callers
Function
test_div
tests/tests_basic.c:203
↓ 1 callers
Function
test_div_short
tests/tests_basic.c:167
↓ 1 callers
Function
test_div_specific
tests/tests_basic.c:137
↓ 1 callers
Function
test_lerp
tests/tests_lerp.c:4
↓ 1 callers
Function
test_macros
tests/tests_macros.c:11
↓ 1 callers
Function
test_mul
tests/tests_basic.c:130
↓ 1 callers
Function
test_mul_short
tests/tests_basic.c:97
↓ 1 callers
Function
test_mul_specific
tests/tests_basic.c:72
↓ 1 callers
Function
test_sqrt
tests/tests_sqrt.c:32
↓ 1 callers
Function
test_sqrt_short
tests/tests_sqrt.c:18
↓ 1 callers
Function
test_sqrt_specific
tests/tests_sqrt.c:4
↓ 1 callers
Function
test_str_extended
tests/tests_str.c:61
↓ 1 callers
Function
test_str_from
tests/tests_str.c:40
↓ 1 callers
Function
test_str_to
tests/tests_str.c:4
↓ 1 callers
Function
test_sub
tests/tests_basic.c:242
↓ 1 callers
Function
test_sub_short
tests/tests_basic.c:210
↓ 1 callers
Function
test_tan_boundaries
Test fix16_tan boundary cases */
tests/tests_trig.c:57
↓ 1 callers
Function
test_trig
tests/tests_trig.c:124
Method
Fix16
libfixmath/fix16.hpp:10
Method
acos
libfixmath/fix16.hpp:175
Method
asin
libfixmath/fix16.hpp:174
Method
atan
libfixmath/fix16.hpp:176
next →
1–100 of 148, ranked by callers