Home
last modified time | relevance | path

Searched refs:float_t (Results 1 – 25 of 1390) sorted by relevance

12345678910>>...56

/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/host/include/uhd/utils/
H A Dmath.hpp74 UHD_INLINE fp_compare_epsilon(float_t value, float_t epsilon);
79 float_t _value;
100 fp_compare_epsilon<float_t> lhs, fp_compare_epsilon<float_t> rhs);
103 fp_compare_epsilon<float_t> lhs, fp_compare_epsilon<float_t> rhs);
106 fp_compare_epsilon<float_t> lhs, fp_compare_epsilon<float_t> rhs);
109 fp_compare_epsilon<float_t> lhs, fp_compare_epsilon<float_t> rhs);
112 fp_compare_epsilon<float_t> lhs, fp_compare_epsilon<float_t> rhs);
115 fp_compare_epsilon<float_t> lhs, fp_compare_epsilon<float_t> rhs);
181 UHD_INLINE fp_compare_delta(float_t value, float_t delta);
186 float_t _value;
[all …]
H A Dfp_compare_delta.ipp18 float_t fp_compare_select_delta(float_t lhs_delta, float_t rhs_delta) {
36 fp_compare_delta<float_t>::fp_compare_delta(float_t value, float_t delta)
58 bool operator==(fp_compare_delta<float_t> lhs, fp_compare_delta<float_t> rhs) {
64 bool operator!=(fp_compare_delta<float_t> lhs, fp_compare_delta<float_t> rhs) {
69 bool operator<(fp_compare_delta<float_t> lhs, fp_compare_delta<float_t> rhs) {
80 bool operator>(fp_compare_delta<float_t> lhs, fp_compare_delta<float_t> rhs) {
92 float_t delta = float_t(fp_compare_select_delta(double(lhs._delta),
104 float_t delta = float_t(fp_compare_select_delta(double(lhs._delta),
116 float_t delta = float_t(fp_compare_select_delta(double(lhs._delta),
140 float_t delta = float_t(fp_compare_select_delta(DOUBLE_PRECISION_DELTA,
[all …]
H A Dfp_compare_epsilon.ipp30 template<typename float_t> UHD_INLINE
31 fp_compare_epsilon<float_t>::fp_compare_epsilon(float_t value, float_t epsilon)
36 template<typename float_t> UHD_INLINE
37 fp_compare_epsilon<float_t>::fp_compare_epsilon(const fp_compare_epsilon<float_t>& copy)
47 void fp_compare_epsilon<float_t>::operator=(const fp_compare_epsilon<float_t>& copy) {
53 bool operator==(fp_compare_epsilon<float_t> lhs, fp_compare_epsilon<float_t> rhs) {
64 bool operator!=(fp_compare_epsilon<float_t> lhs, fp_compare_epsilon<float_t> rhs) {
69 bool operator<(fp_compare_epsilon<float_t> lhs, fp_compare_epsilon<float_t> rhs) {
74 bool operator<=(fp_compare_epsilon<float_t> lhs, fp_compare_epsilon<float_t> rhs) {
79 bool operator>(fp_compare_epsilon<float_t> lhs, fp_compare_epsilon<float_t> rhs) {
[all …]
/dports/cad/librepcb/librepcb-0.1.6/libs/type_safe/test/
H A Dfloating_point.cpp147 REQUIRE(bool(float_t(4.) < float_t(5.)));
148 REQUIRE(!(float_t(5.) < float_t(4.)));
149 REQUIRE(!(float_t(4.) < float_t(4.)));
160 REQUIRE(bool(float_t(4.) <= float_t(5.)));
161 REQUIRE(!(float_t(5.) <= float_t(4.)));
162 REQUIRE(bool(float_t(4.) <= float_t(4.)));
173 REQUIRE(bool(float_t(5.) > float_t(4.)));
174 REQUIRE(!(float_t(4.) > float_t(5.)));
175 REQUIRE(!(float_t(5.) > float_t(5.)));
186 REQUIRE(bool(float_t(5.) >= float_t(4.)));
[all …]
/dports/cad/repsnapper/repsnapper-2.5a4/libraries/vmmlib/include/vmmlib/
H A Dlapack_svd.hpp47 template< typename float_t >
54 float_t* a;
56 float_t* s;
57 float_t* u;
59 float_t* vt;
61 float_t* work;
93 template< typename float_t >
211 p.work = new float_t; in lapack_svd()
239 vector< N, float_t >& S, in compute_full()
293 vector< N, float_t >& S in compute_and_overwrite_input()
[all …]
H A Dlapack_linear_least_squares.hpp42 template< typename float_t >
49 float_t* a; // input A
82 template< typename float_t >
135 vector< N, float_t >& x );
145 matrix< M, N, float_t > _A;
146 vector< M, float_t > _b;
148 llsq_params_xgels< float_t > p;
159 vector< N, float_t >& x ) in compute()
205 p.work = new float_t(); in linear_least_squares_xgels()
234 template< typename float_t >
[all …]
H A Dblas_daxpy.hpp52 template< typename float_t >
56 float_t alpha;
57 float_t* x;
59 float_t* y;
80 template< typename float_t >
122 template< size_t M, typename float_t >
143 blas::daxpy_params< float_t > p;
165 blas_daxpy< M, float_t >::compute( const float_t a_, const vector_t& B_, vector_t& C_ ) in compute()
176 blas::daxpy_call< float_t >( p ); in compute()
188 blas_daxpy< M, float_t >::compute_mmm( const matrix< M, K, float_t >& left_m_, in compute_mmm()
[all …]
H A Dblas_dgemm.hpp61 template< typename float_t >
70 float_t alpha;
71 float_t* a;
73 float_t* b;
75 float_t beta;
76 float_t* c;
105 template< typename float_t >
196 blas::dgemm_params< float_t > p;
242 blas::dgemm_call< float_t >( p ); in compute()
270 blas::dgemm_call< float_t >( p ); in compute()
[all …]
H A Dlapack_gaussian_elimination.hpp41 template< typename float_t >
75 template< typename float_t >
123 matrix< N, N, float_t >& A,
124 matrix< N, M, float_t >& b
128 matrix< N, N, float_t >& A,
129 vector< N, float_t >& b
137 lapack::xgesv_params< float_t > p;
147 matrix< N, N, float_t >& A, in compute()
148 matrix< N, M, float_t >& b in compute()
171 matrix< N, N, float_t >& A, in compute()
[all …]
H A Dblas_dot.hpp36 template< typename float_t >
40 float_t* x;
42 float_t* y;
62 template< typename float_t >
63 inline float_t
104 template< size_t M, typename float_t >
116 blas::dot_params< float_t > p;
124 template< size_t M, typename float_t >
125 blas_dot< M, float_t >::blas_dot() in blas_dot()
135 template< size_t M, typename float_t >
[all …]
H A Dlapack_sym_eigs.hpp52 template< typename float_t >
59 float_t* a;
61 float_t* vl;
62 float_t* vu;
65 float_t abstol;
70 float_t* work;
117 template< typename float_t >
220 float_t& eigvalue_
267 p.work = new float_t; in lapack_sym_eigs()
279 p.work = new float_t[ p.lwork ]; in lapack_sym_eigs()
[all …]
H A Dlinear_least_squares.hpp19 vmml::matrix_mxn< number_of_unknowns, 1, float_t >
20 solve( std::vector< Vector3< float_t > >& data_points, float_t tolerance = 1e-9 ) in solve()
25 matrix_mxn< number_of_data_points, number_of_unknowns, float_t > X; in solve()
26 matrix_mxn< number_of_data_points, 1, float_t > y; in solve()
30 float_t x = data_points[ nb_index ].x; in solve()
69 vmml::matrix_mxn< number_of_unknowns, 1, float_t >
70 solve_using_qr_decomposition( std::vector< Vector3< float_t > >& data_points, float_t tolerance = 1… in solve_using_qr_decomposition()
75 matrix_mxn< number_of_data_points, number_of_unknowns, float_t > X; in solve_using_qr_decomposition()
76 matrix_mxn< number_of_data_points, 1, float_t > y; in solve_using_qr_decomposition()
99 vmml::matrix_mxn< number_of_unknowns, 1, float_t >
[all …]
/dports/multimedia/obs-streamfx/obs-StreamFX-0.9.3/source/obs/gs/
H A Dgs-effect-parameter.cpp299 y = *reinterpret_cast<float_t*>(ptr + sizeof(float_t)); in get_float2()
313 y = *reinterpret_cast<float_t*>(ptr + sizeof(float_t)); in get_default_float2()
337 void gs::effect_parameter::set_float3(float_t x, float_t y, float_t z) in set_float3()
345 void gs::effect_parameter::get_float3(float_t& x, float_t& y, float_t& z) in get_float3()
352 y = *reinterpret_cast<float_t*>(ptr + sizeof(float_t)); in get_float3()
360 void gs::effect_parameter::get_default_float3(float_t& x, float_t& y, float_t& z) in get_default_float3()
367 y = *reinterpret_cast<float_t*>(ptr + sizeof(float_t)); in get_default_float3()
392 void gs::effect_parameter::set_float4(float_t x, float_t y, float_t z, float_t w) in set_float4()
400 void gs::effect_parameter::get_float4(float_t& x, float_t& y, float_t& z, float_t& w) in get_float4()
407 y = *reinterpret_cast<float_t*>(ptr + sizeof(float_t)); in get_float4()
[all …]
H A Dgs-helper.hpp41 static constexpr float_t debug_color_white[4] = {1.f, 1.f, 1.f, 1.f};
42 static constexpr float_t debug_color_gray[4] = {.5f, .5f, .5f, 1.f};
43 static constexpr float_t debug_color_black[4] = {0.f, 0.f, 0.f, 1.f};
57 static const float_t* debug_color_source = debug_color_white;
58 static const float_t* debug_color_capture = debug_color_flush_orange;
59 static const float_t* debug_color_cache = debug_color_capture;
61 static const float_t* debug_color_cache_render = debug_color_convert;
62 static const float_t* debug_color_copy = debug_color_azure_radiance;
63 static const float_t* debug_color_allocate = debug_color_red;
64 static const float_t* debug_color_render = debug_color_teal;
[all …]
H A Dgs-effect-parameter.hpp154 void set_float2(float_t x, float_t y);
155 void get_float2(float_t& x, float_t& y);
156 void get_default_float2(float_t& x, float_t& y);
161 void set_float3(float_t x, float_t y, float_t z);
162 void get_float3(float_t& x, float_t& y, float_t& z);
163 void get_default_float3(float_t& x, float_t& y, float_t& z);
168 void set_float4(float_t x, float_t y, float_t z, float_t w);
169 void get_float4(float_t& x, float_t& y, float_t& z, float_t& w);
170 void get_default_float4(float_t& x, float_t& y, float_t& z, float_t& w);
218 float_t v; in get_float()
[all …]
/dports/games/criticalmass/CriticalMass-1.5/vmmlib/
H A Dlapack_svd.hpp47 template< typename float_t >
54 float_t* a;
56 float_t* s;
57 float_t* u;
59 float_t* vt;
61 float_t* work;
93 template< typename float_t >
202 p.work = new float_t; in lapack_svd()
230 vector< N, float_t >& S, in compute()
256 vector< N, float_t >& S in compute_and_overwrite_input()
[all …]
H A Dlapack_linear_least_squares.hpp42 template< typename float_t >
49 float_t* a; // input A
82 template< typename float_t >
135 vector< N, float_t >& x );
145 matrix< M, N, float_t > _A;
146 vector< M, float_t > _b;
148 llsq_params_xgels< float_t > p;
159 vector< N, float_t >& x ) in compute()
202 p.work = new float_t(); in linear_least_squares_xgels()
231 template< typename float_t >
[all …]
H A Dlinear_least_squares.hpp19 vmml::matrix_mxn< number_of_unknowns, 1, float_t >
20 solve( std::vector< Vector3< float_t > >& data_points, float_t tolerance = 1e-9 ) in solve()
25 matrix_mxn< number_of_data_points, number_of_unknowns, float_t > X; in solve()
26 matrix_mxn< number_of_data_points, 1, float_t > y; in solve()
30 float_t x = data_points[ nb_index ].x; in solve()
69 vmml::matrix_mxn< number_of_unknowns, 1, float_t >
70 solve_using_qr_decomposition( std::vector< Vector3< float_t > >& data_points, float_t tolerance = 1… in solve_using_qr_decomposition()
75 matrix_mxn< number_of_data_points, number_of_unknowns, float_t > X; in solve_using_qr_decomposition()
76 matrix_mxn< number_of_data_points, 1, float_t > y; in solve_using_qr_decomposition()
99 vmml::matrix_mxn< number_of_unknowns, 1, float_t >
[all …]
/dports/textproc/clucene/clucene-core-2.3.3.4/src/core/CLucene/search/
H A DSimilarity.h88 static uint8_t encodeNorm(float_t f);
93 static float_t decodeNorm(uint8_t b);
95 static uint8_t floatToByte(float_t f);
96 static float_t byteToFloat(uint8_t b);
112 float_t _idf = 0.0f; in idf()
155 inline float_t tf(int32_t freq){ return tf((float_t)freq); } in tf()
190 virtual float_t queryNorm(float_t sumOfSquaredWeights) = 0;
220 virtual float_t tf(float_t freq) = 0;
263 float_t queryNorm(float_t sumOfSquaredWeights);
266 inline float_t tf(float_t freq);
[all …]
H A DSimilarity.cpp26 float_t NORM_TABLE[] = {
57 float_t Similarity::byteToFloat(uint8_t b) { in byteToFloat()
68 float_t NORM_TABLE[256];
77 int32_t floatToIntBits(float_t value)
91 float_t intBitsToFloat(int32_t bits)
189 float_t _idf = 0.0f; in idf()
210 return (1.0 / sqrt((float_t)numTerms)); in lengthNorm()
213 float_t DefaultSimilarity::queryNorm(float_t sumOfSquaredWeights) { in queryNorm()
219 float_t DefaultSimilarity::tf(float_t freq) { in tf()
228 return (float_t)(log(numDocs/(float_t)(docFreq+1)) + 1.0); in idf()
[all …]
/dports/multimedia/obs-streamfx/obs-StreamFX-0.9.3/source/filters/
H A Dfilter-sdf-effects.hpp55 float_t _inner_shadow_offset_x;
56 float_t _inner_shadow_offset_y;
62 float_t _outer_shadow_offset_x;
63 float_t _outer_shadow_offset_y;
67 float_t _inner_glow_width;
68 float_t _inner_glow_sharpness;
73 float_t _outer_glow_width;
74 float_t _outer_glow_sharpness;
79 float_t _outline_width;
80 float_t _outline_offset;
[all …]
/dports/audio/lenticular-lv2/lenticular_lv2-0.5.0-14-g14d8075/eurorack/stmlib/third_party/STM/CMSIS/CM3_h7xx/
H A Dsystem_stm32h7xx.c277 float_t fracn1, pllvco; in SystemCoreClockUpdate()
303 fracn1 = (float_t)(uint32_t)(pllfracen* ((RCC->PLL1FRACR & RCC_PLL1FRACR_FRACN1)>> 3)); in SystemCoreClockUpdate()
312 …pllvco = ( (float_t)hsivalue / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate()
317 …pllvco = ((float_t)CSI_VALUE / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate()
321 …pllvco = ((float_t)HSE_VALUE / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate()
325 …pllvco = ((float_t)CSI_VALUE / (float_t)pllm) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR_… in SystemCoreClockUpdate()
329 SystemCoreClock = (uint32_t)(float_t)(pllvco/(float_t)pllp); in SystemCoreClockUpdate()
/dports/games/retroarch/RetroArch-1.9.7/input/include/GameController/
H A DGCExtendedGamepadSnapshot.h38 float_t dpadX;
39 float_t dpadY;
42 float_t buttonA;
43 float_t buttonB;
44 float_t buttonX;
45 float_t buttonY;
46 float_t leftShoulder;
47 float_t rightShoulder;
50 float_t leftThumbstickX;
56 float_t leftTrigger;
[all …]
/dports/graphics/colmap/colmap-3.6/lib/PBA/
H A DDataInterface.h49 typedef FT float_t; typedef
56 float_t constant_camera;
68 f = (float_t)cam.f; in SetCameraT()
88 f = (float_t)F; in SetFocalLength()
94 radial = (float_t)r; in SetMeasurementDistortion()
113 radial = float_t(r); in SetProjectionDistortion()
282 t[0] = (float_t)T[0]; in SetTranslation()
363 typedef FT float_t; typedef
369 xyz[0] = (float_t)x; in SetPoint()
370 xyz[1] = (float_t)y; in SetPoint()
[all …]
/dports/audio/lenticular-lv2/lenticular_lv2-0.5.0-14-g14d8075/eurorack/stmlib/third_party/STM/STM32H7xx_HAL_Driver/src/
H A Dstm32h7xx_hal_rcc_ex.c2023 …pll2vco = ((float_t)CSI_VALUE / (float_t)pll2m) * ((float_t)(uint32_t)(RCC->PLL2DIVR & RCC_PLL2DIV… in HAL_RCCEx_GetPLL2ClockFreq()
2027 …pll2vco = ((float_t)HSE_VALUE / (float_t)pll2m) * ((float_t)(uint32_t)(RCC->PLL2DIVR & RCC_PLL2DIV… in HAL_RCCEx_GetPLL2ClockFreq()
2031 …pll2vco = ((float_t)CSI_VALUE / (float_t)pll2m) * ((float_t)(uint32_t)(RCC->PLL2DIVR & RCC_PLL2DIV… in HAL_RCCEx_GetPLL2ClockFreq()
2082 …pll3vco = ((float_t)hsivalue / (float_t)pll3m) * ((float_t)(uint32_t)(RCC->PLL3DIVR & RCC_PLL3DIVR… in HAL_RCCEx_GetPLL3ClockFreq()
2090 …pll3vco = ((float_t)CSI_VALUE / (float_t)pll3m) * ((float_t)(uint32_t)(RCC->PLL3DIVR & RCC_PLL3DIV… in HAL_RCCEx_GetPLL3ClockFreq()
2094 …pll3vco = ((float_t)HSE_VALUE / (float_t)pll3m) * ((float_t)(uint32_t)(RCC->PLL3DIVR & RCC_PLL3DIV… in HAL_RCCEx_GetPLL3ClockFreq()
2098 …pll3vco = ((float_t)CSI_VALUE / (float_t)pll3m) * ((float_t)(uint32_t)(RCC->PLL3DIVR & RCC_PLL3DIV… in HAL_RCCEx_GetPLL3ClockFreq()
2148 …pll1vco = ((float_t)hsivalue / (float_t)pll1m) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIVR… in HAL_RCCEx_GetPLL1ClockFreq()
2156 …pll1vco = ((float_t)CSI_VALUE / (float_t)pll1m) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIV… in HAL_RCCEx_GetPLL1ClockFreq()
2160 …pll1vco = ((float_t)HSE_VALUE / (float_t)pll1m) * ((float_t)(uint32_t)(RCC->PLL1DIVR & RCC_PLL1DIV… in HAL_RCCEx_GetPLL1ClockFreq()
[all …]

12345678910>>...56