Home
last modified time | relevance | path

Searched refs:h_exp (Results 1 – 24 of 24) sorted by relevance

/dports/devel/fp16/FP16-4dfe081cf6bcd15db339cf2680b9281b8451eeb3/third-party/
H A Dnpy-halffloat.h37 npy_uint16 h_sgn, h_exp, h_sig; in npy_floatbits_to_halfbits() local
139 h_sig += h_exp; in npy_floatbits_to_halfbits()
255 h_sig += h_exp; in npy_doublebits_to_halfbits()
267 npy_uint16 h_exp, h_sig; in npy_halfbits_to_floatbits() local
270 h_exp = (h&0x7c00u); in npy_halfbits_to_floatbits()
272 switch (h_exp) { in npy_halfbits_to_floatbits()
283 h_exp++; in npy_halfbits_to_floatbits()
299 npy_uint16 h_exp, h_sig; in npy_halfbits_to_doublebits() local
302 h_exp = (h&0x7c00u); in npy_halfbits_to_doublebits()
304 switch (h_exp) { in npy_halfbits_to_doublebits()
[all …]
/dports/misc/glow/glow-f24d960e3cc80db95ac0bc17b1900dbf60ca044a/thirdparty/fp16/third-party/
H A Dnpy-halffloat.h37 npy_uint16 h_sgn, h_exp, h_sig; in npy_floatbits_to_halfbits() local
139 h_sig += h_exp; in npy_floatbits_to_halfbits()
255 h_sig += h_exp; in npy_doublebits_to_halfbits()
267 npy_uint16 h_exp, h_sig; in npy_halfbits_to_floatbits() local
270 h_exp = (h&0x7c00u); in npy_halfbits_to_floatbits()
272 switch (h_exp) { in npy_halfbits_to_floatbits()
283 h_exp++; in npy_halfbits_to_floatbits()
299 npy_uint16 h_exp, h_sig; in npy_halfbits_to_doublebits() local
302 h_exp = (h&0x7c00u); in npy_halfbits_to_doublebits()
304 switch (h_exp) { in npy_halfbits_to_doublebits()
[all …]
/dports/math/py-numpy/numpy-1.20.3/numpy/core/src/npymath/
H A Dhalffloat.c80 if (h_exp == 0x7c00u) { in npy_half_spacing()
99 ret = h_exp - 0x2800u; in npy_half_spacing()
356 h_sig += h_exp; in npy_floatbits_to_halfbits()
481 h_sig += h_exp; in npy_doublebits_to_halfbits()
493 npy_uint16 h_exp, h_sig; in npy_halfbits_to_floatbits() local
496 h_exp = (h&0x7c00u); in npy_halfbits_to_floatbits()
498 switch (h_exp) { in npy_halfbits_to_floatbits()
509 h_exp++; in npy_halfbits_to_floatbits()
528 h_exp = (h&0x7c00u); in npy_halfbits_to_doublebits()
530 switch (h_exp) { in npy_halfbits_to_doublebits()
[all …]
/dports/science/py-chainer/chainer-7.8.0/chainerx_cc/chainerx/
H A Dfloat16.cc77 uint16_t h_exp = static_cast<uint16_t>((f_exp - 0x38000000U) >> 13); in FloatbitsToHalfbits() local
88 return h_sgn + h_exp + h_sig; in FloatbitsToHalfbits()
155 return h_sgn + h_exp + h_sig; in DoublebitsToHalfbits()
162 uint16_t h_exp = (h & 0x7c00U); in HalfbitsToFloatbits() local
164 switch (h_exp) { in HalfbitsToFloatbits()
177 ++h_exp; in HalfbitsToFloatbits()
180 uint32_t f_exp = (static_cast<uint32_t>(127 - 15 - h_exp)) << 23; in HalfbitsToFloatbits()
199 uint16_t h_exp = (h & 0x7c00U); in HalfbitsToDoublebits() local
201 switch (h_exp) { in HalfbitsToDoublebits()
214 ++h_exp; in HalfbitsToDoublebits()
[all …]
/dports/lang/pocl/pocl-1.8/include/CL/
H A Dcl_half.h130 uint16_t h_exp = exp + CL_HALF_MAX_EXP - 1; in cl_half_from_float() local
174 h_exp = 0; in cl_half_from_float()
224 h_exp += 1; in cl_half_from_float()
228 return (sign << 15) | (h_exp << 10) | h_mant; in cl_half_from_float()
300 h_exp = 0; in cl_half_from_double()
350 h_exp += 1; in cl_half_from_double()
354 return (sign << 15) | (h_exp << 10) | h_mant; in cl_half_from_double()
374 uint16_t h_exp = (h >> (CL_HALF_MANT_DIG - 1)) & 0x1F; in cl_half_to_float() local
378 int32_t exp = h_exp - CL_HALF_MAX_EXP + 1; in cl_half_to_float()
384 if (h_exp == 0x1F) in cl_half_to_float()
[all …]
/dports/graphics/darktable38/darktable-3.8.0/src/external/OpenCL/CL/
H A Dcl_half.h130 uint16_t h_exp = (uint16_t)(exp + CL_HALF_MAX_EXP - 1); in cl_half_from_float() local
174 h_exp = 0; in cl_half_from_float()
224 h_exp += 1; in cl_half_from_float()
228 return (sign << 15) | (h_exp << 10) | h_mant; in cl_half_from_float()
300 h_exp = 0; in cl_half_from_double()
350 h_exp += 1; in cl_half_from_double()
354 return (sign << 15) | (h_exp << 10) | h_mant; in cl_half_from_double()
374 uint16_t h_exp = (h >> (CL_HALF_MANT_DIG - 1)) & 0x1F; in cl_half_to_float() local
378 int32_t exp = h_exp - CL_HALF_MAX_EXP + 1; in cl_half_to_float()
384 if (h_exp == 0x1F) in cl_half_to_float()
[all …]
/dports/security/hashcat/hashcat-6.2.5/deps/git/OpenCL-Headers/CL/
H A Dcl_half.h130 uint16_t h_exp = (uint16_t)(exp + CL_HALF_MAX_EXP - 1); in cl_half_from_float() local
174 h_exp = 0; in cl_half_from_float()
224 h_exp += 1; in cl_half_from_float()
228 return (sign << 15) | (h_exp << 10) | h_mant; in cl_half_from_float()
300 h_exp = 0; in cl_half_from_double()
350 h_exp += 1; in cl_half_from_double()
354 return (sign << 15) | (h_exp << 10) | h_mant; in cl_half_from_double()
374 uint16_t h_exp = (h >> (CL_HALF_MANT_DIG - 1)) & 0x1F; in cl_half_to_float() local
378 int32_t exp = h_exp - CL_HALF_MAX_EXP + 1; in cl_half_to_float()
384 if (h_exp == 0x1F) in cl_half_to_float()
[all …]
/dports/devel/opencl/OpenCL-Headers-2021.06.30/CL/
H A Dcl_half.h130 uint16_t h_exp = (uint16_t)(exp + CL_HALF_MAX_EXP - 1); in cl_half_from_float() local
174 h_exp = 0; in cl_half_from_float()
224 h_exp += 1; in cl_half_from_float()
228 return (sign << 15) | (h_exp << 10) | h_mant; in cl_half_from_float()
300 h_exp = 0; in cl_half_from_double()
350 h_exp += 1; in cl_half_from_double()
354 return (sign << 15) | (h_exp << 10) | h_mant; in cl_half_from_double()
374 uint16_t h_exp = (h >> (CL_HALF_MANT_DIG - 1)) & 0x1F; in cl_half_to_float() local
378 int32_t exp = h_exp - CL_HALF_MAX_EXP + 1; in cl_half_to_float()
384 if (h_exp == 0x1F) in cl_half_to_float()
[all …]
/dports/devel/oclgrind/Oclgrind-21.10/src/CL/
H A Dcl_half.h130 uint16_t h_exp = (uint16_t)(exp + CL_HALF_MAX_EXP - 1); in cl_half_from_float() local
174 h_exp = 0; in cl_half_from_float()
224 h_exp += 1; in cl_half_from_float()
228 return (sign << 15) | (h_exp << 10) | h_mant; in cl_half_from_float()
300 h_exp = 0; in cl_half_from_double()
350 h_exp += 1; in cl_half_from_double()
354 return (sign << 15) | (h_exp << 10) | h_mant; in cl_half_from_double()
374 uint16_t h_exp = (h >> (CL_HALF_MANT_DIG - 1)) & 0x1F; in cl_half_to_float() local
378 int32_t exp = h_exp - CL_HALF_MAX_EXP + 1; in cl_half_to_float()
384 if (h_exp == 0x1F) in cl_half_to_float()
[all …]
/dports/www/fswiki/wiki3_6_2/lib/HTTP/
H A DResponse.pm336 my $h_exp = ($date - $last_modified) * 0.10; # 10% since last-mod
337 if ($h_exp < 60) {
339 } elsif ($h_exp > 24 * 3600) {
346 return $h_exp;
/dports/www/p5-HTTP-Message/HTTP-Message-6.35/lib/HTTP/
H A DResponse.pm311 my $h_exp = ($date - $last_modified) * $opt{h_lastmod_fraction};
312 return $opt{h_min} if $h_exp < $opt{h_min};
313 return $opt{h_max} if $h_exp > $opt{h_max};
314 return $h_exp;
/dports/multimedia/libv4l/linux-5.13-rc2/include/media/davinci/
H A Dvpbe_osd.h334 enum osd_h_exp_ratio h_exp,
337 enum osd_h_exp_ratio *h_exp,
H A Dvpbe_display.h55 enum osd_h_exp_ratio h_exp; member
/dports/multimedia/v4l_compat/linux-5.13-rc2/include/media/davinci/
H A Dvpbe_osd.h334 enum osd_h_exp_ratio h_exp,
337 enum osd_h_exp_ratio *h_exp,
H A Dvpbe_display.h55 enum osd_h_exp_ratio h_exp; member
/dports/multimedia/v4l-utils/linux-5.13-rc2/include/media/davinci/
H A Dvpbe_osd.h334 enum osd_h_exp_ratio h_exp,
337 enum osd_h_exp_ratio *h_exp,
H A Dvpbe_display.h55 enum osd_h_exp_ratio h_exp; member
/dports/devel/godot/godot-3.2.3-stable/core/math/
H A Dmath_funcs.h377 uint16_t h_exp, h_sig; in halfbits_to_floatbits() local
380 h_exp = (h & 0x7c00u); in halfbits_to_floatbits()
382 switch (h_exp) { in halfbits_to_floatbits()
393 h_exp++; in halfbits_to_floatbits()
395 f_exp = ((uint32_t)(127 - 15 - h_exp)) << 23; in halfbits_to_floatbits()
/dports/devel/godot-tools/godot-3.2.3-stable/core/math/
H A Dmath_funcs.h377 uint16_t h_exp, h_sig; in halfbits_to_floatbits() local
380 h_exp = (h & 0x7c00u); in halfbits_to_floatbits()
382 switch (h_exp) { in halfbits_to_floatbits()
393 h_exp++; in halfbits_to_floatbits()
395 f_exp = ((uint32_t)(127 - 15 - h_exp)) << 23; in halfbits_to_floatbits()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/media/platform/davinci/
H A Dvpbe_display.c423 int h_exp = 0; in vpbe_disp_calculate_scale_factor() local
451 layer_info->h_exp = H_EXP_OFF; /* no horizontal zoom */ in vpbe_disp_calculate_scale_factor()
470 h_exp = 1; in vpbe_disp_calculate_scale_factor()
479 if (h_exp) in vpbe_disp_calculate_scale_factor()
480 layer_info->h_exp = H_EXP_9_OVER_8; in vpbe_disp_calculate_scale_factor()
687 layer->layer_info.h_exp, in vpbe_display_s_selection()
697 (layer->layer_info.h_exp != H_EXP_OFF) || in vpbe_display_s_selection()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/media/platform/davinci/
H A Dvpbe_display.c423 int h_exp = 0; in vpbe_disp_calculate_scale_factor() local
451 layer_info->h_exp = H_EXP_OFF; /* no horizontal zoom */ in vpbe_disp_calculate_scale_factor()
470 h_exp = 1; in vpbe_disp_calculate_scale_factor()
479 if (h_exp) in vpbe_disp_calculate_scale_factor()
480 layer_info->h_exp = H_EXP_9_OVER_8; in vpbe_disp_calculate_scale_factor()
687 layer->layer_info.h_exp, in vpbe_display_s_selection()
697 (layer->layer_info.h_exp != H_EXP_OFF) || in vpbe_display_s_selection()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/media/platform/davinci/
H A Dvpbe_display.c423 int h_exp = 0; in vpbe_disp_calculate_scale_factor() local
451 layer_info->h_exp = H_EXP_OFF; /* no horizontal zoom */ in vpbe_disp_calculate_scale_factor()
470 h_exp = 1; in vpbe_disp_calculate_scale_factor()
479 if (h_exp) in vpbe_disp_calculate_scale_factor()
480 layer_info->h_exp = H_EXP_9_OVER_8; in vpbe_disp_calculate_scale_factor()
687 layer->layer_info.h_exp, in vpbe_display_s_selection()
697 (layer->layer_info.h_exp != H_EXP_OFF) || in vpbe_display_s_selection()
/dports/math/z3/z3-z3-4.8.13/src/ast/fpa/
H A Dfpa2bv_converter.cpp3962 expr_ref e3(m), ne3(m), e2(m), e1(m), e21(m), one_1(m), h_exp(m), sh_exp(m), th_exp(m); in round() local
3964 h_exp = m_bv_util.mk_extract(ebits+1, ebits+1, exp); in round()
3967 m_simp.mk_eq(h_exp, one_1, e3); in round()
/dports/math/py-z3-solver/z3-z3-4.8.10/src/ast/fpa/
H A Dfpa2bv_converter.cpp3946 expr_ref e3(m), ne3(m), e2(m), e1(m), e21(m), one_1(m), h_exp(m), sh_exp(m), th_exp(m);
3948 h_exp = m_bv_util.mk_extract(ebits+1, ebits+1, exp);
3951 m_simp.mk_eq(h_exp, one_1, e3);