MCPcopy Create free account

hub / github.com/PetteriAimonen/libfixmath / functions

Functions148 in github.com/PetteriAimonen/libfixmath

↓ 65 callersFunctionfix16_to_dbl
libfixmath/fix16.h:59
↓ 64 callersFunctionfix16_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 callersFunctionfix16_mul
libfixmath/fix16.c:70
↓ 35 callersFunctionfix16_div
libfixmath/fix16.c:292
↓ 29 callersFunctionfix16_from_dbl
libfixmath/fix16.h:81
↓ 29 callersFunctionprint_value
benchmarks/interface.c:4
↓ 21 callersFunctionfix16_from_float
libfixmath/fix16.h:72
↓ 15 callersFunctionfix16_sadd
Saturating arithmetic */
libfixmath/fix16.c:40
↓ 12 callersFunctionfix16_from_str
libfixmath/fix16_str.c:76
↓ 12 callersFunctionprint
benchmarks/interface.c:9
↓ 11 callersFunctionfix16_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 callersFunctionfix16_to_str
libfixmath/fix16_str.c:44
↓ 10 callersFunctionf16_to_float
(val)
benchmarks/generate_testcases.py:22
↓ 10 callersFunctionfix16_sdiv
Wrapper around fix16_div to add saturating arithmetic. */
libfixmath/fix16.c:451
↓ 9 callersFunctionfix16_smul
Wrapper around fix16_mul to add saturating arithmetic. */
libfixmath/fix16.c:257
↓ 9 callersFunctionto_ui32
(val)
benchmarks/generate_testcases.py:31
↓ 8 callersFunctionint64_add
libfixmath/int64.h:21
↓ 8 callersFunctionint64_shift
libfixmath/int64.h:24
↓ 7 callersFunctionfix16_atan2
libfixmath/fix16_trig.c:159
↓ 7 callersFunctionfix16_lerp16
libfixmath/fix16.c:494
↓ 7 callersFunctionfix16_lerp32
libfixmath/fix16.c:502
↓ 7 callersFunctionfix16_lerp8
libfixmath/fix16.c:486
↓ 7 callersFunctionfix_abs
libfixmath/fix16.h:242
↓ 6 callersFunctiondelta
benchmarks/benchmark.c:48
↓ 6 callersFunctionfix16_asin
libfixmath/fix16_trig.c:132
↓ 6 callersFunctionfloat_to_f16
(val)
benchmarks/generate_testcases.py:25
↓ 5 callersFunctionfix16_sin
libfixmath/fix16_trig.c:56
↓ 5 callersFunctionfix16_ssub
libfixmath/fix16.c:50
↓ 5 callersFunctionfix16_tan
libfixmath/fix16_trig.c:123
↓ 5 callersFunctionfix16_to_float
libfixmath/fix16.h:58
↓ 5 callersFunctionint64_neg
libfixmath/int64.h:22
↓ 4 callersFunctionfix16_acos
libfixmath/fix16_trig.c:154
↓ 4 callersFunctionfix16_cos
libfixmath/fix16_trig.c:118
↓ 4 callersFunctionhiclock
fixtest/hiclock.c:15
↓ 4 callersFunctionint64_from_int32
libfixmath/int64.h:17
↓ 4 callersFunctionint64_mul_i32_i32
libfixmath/int64.h:26
↓ 3 callersFunctionint64_const
libfixmath/int64.h:16
↓ 3 callersFunctionisdigit
libfixmath/fix16_str.c:8
↓ 2 callersFunctionfix16__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 callersFunctionfix16_add
libfixmath/fix16.h:118
↓ 2 callersFunctionfix16_atan
libfixmath/fix16_trig.c:209
↓ 2 callersFunctionfix16_exp
libfixmath/fix16_exp.c:17
↓ 2 callersFunctionfix16_rs
libfixmath/fix16_exp.c:111
↓ 2 callersFunctionfix16_sub
libfixmath/fix16.h:119
↓ 2 callersFunctionfract32_usmul
libfixmath/fract32.c:18
↓ 2 callersFunctionint64_lo
libfixmath/int64.h:19
↓ 2 callersFunctionint64_mul_i64_i32
libfixmath/int64.h:27
↓ 2 callersFunctionint64_sub
libfixmath/int64.h:23
↓ 2 callersFunctionisspace
libfixmath/fix16_str.c:13
↓ 2 callersFunctionitoa_loop
libfixmath/fix16_str.c:26
↓ 1 callersFunctionbutterfly
Mix N blocksize-sized transforms pairwise together to get N/2 2*blocksize-sized transforms.
libfixmath/fix16_fft.c:59
↓ 1 callersFunctionclz
libfixmath/fix16.c:282
↓ 1 callersFunctionend_timing
benchmarks/interface-avr.c:31
↓ 1 callersFunctionfix16_abs
libfixmath/fix16.h:102
↓ 1 callersFunctionfix16_add
libfixmath/fix16.c:9
↓ 1 callersFunctionfix16_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 callersFunctionfix16_max
libfixmath/fix16.h:110
↓ 1 callersFunctionfix16_min
libfixmath/fix16.h:108
↓ 1 callersFunctionfix16_sub
libfixmath/fix16.c:25
↓ 1 callersFunctionfix16_to_int
libfixmath/fix16.h:61
↓ 1 callersFunctionfour_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 callersFunctionhiclock_init
fixtest/hiclock.c:7
↓ 1 callersFunctionilog2
Base-2 integer logarithm
libfixmath/fix16_fft.c:110
↓ 1 callersFunctionint64_cmp_ge
libfixmath/int64.h:34
↓ 1 callersFunctionint64_cmp_lt
libfixmath/int64.h:35
↓ 1 callersFunctionint64_hi
libfixmath/int64.h:18
↓ 1 callersFunctioninterface_init
benchmarks/interface-avr.c:15
↓ 1 callersFunctionrbit_32
Reverse bits in a 32-bit number
libfixmath/fix16_fft.c:89
↓ 1 callersFunctionrbit_n
Reverse bits in an n-bit number.
libfixmath/fix16_fft.c:104
↓ 1 callersMethodsqrt
libfixmath/fix16.hpp:178
↓ 1 callersFunctionstart_timing
benchmarks/interface-avr.c:26
↓ 1 callersFunctiontest_abs
tests/tests_basic.c:28
↓ 1 callersFunctiontest_abs_short
tests/tests_basic.c:4
↓ 1 callersFunctiontest_acos_boundaries
Test fix16_acos boundary cases */
tests/tests_trig.c:35
↓ 1 callersFunctiontest_add
tests/tests_basic.c:66
↓ 1 callersFunctiontest_add_short
tests/tests_basic.c:34
↓ 1 callersFunctiontest_asin_boundaries
Test fix16_asin boundary cases */
tests/tests_trig.c:6
↓ 1 callersFunctiontest_atan2_boundaries
Test fix16_atan2 boundary cases */
tests/tests_trig.c:89
↓ 1 callersFunctiontest_div
tests/tests_basic.c:203
↓ 1 callersFunctiontest_div_short
tests/tests_basic.c:167
↓ 1 callersFunctiontest_div_specific
tests/tests_basic.c:137
↓ 1 callersFunctiontest_lerp
tests/tests_lerp.c:4
↓ 1 callersFunctiontest_macros
tests/tests_macros.c:11
↓ 1 callersFunctiontest_mul
tests/tests_basic.c:130
↓ 1 callersFunctiontest_mul_short
tests/tests_basic.c:97
↓ 1 callersFunctiontest_mul_specific
tests/tests_basic.c:72
↓ 1 callersFunctiontest_sqrt
tests/tests_sqrt.c:32
↓ 1 callersFunctiontest_sqrt_short
tests/tests_sqrt.c:18
↓ 1 callersFunctiontest_sqrt_specific
tests/tests_sqrt.c:4
↓ 1 callersFunctiontest_str_extended
tests/tests_str.c:61
↓ 1 callersFunctiontest_str_from
tests/tests_str.c:40
↓ 1 callersFunctiontest_str_to
tests/tests_str.c:4
↓ 1 callersFunctiontest_sub
tests/tests_basic.c:242
↓ 1 callersFunctiontest_sub_short
tests/tests_basic.c:210
↓ 1 callersFunctiontest_tan_boundaries
Test fix16_tan boundary cases */
tests/tests_trig.c:57
↓ 1 callersFunctiontest_trig
tests/tests_trig.c:124
MethodFix16
libfixmath/fix16.hpp:10
Methodacos
libfixmath/fix16.hpp:175
Methodasin
libfixmath/fix16.hpp:174
Methodatan
libfixmath/fix16.hpp:176
next →1–100 of 148, ranked by callers