Home
last modified time | relevance | path

Searched refs:f (Results 1 – 7 of 7) sorted by relevance

/hal_st-latest/sensor/stmemsc/lsm6dsv16b_STdC/driver/
Dlsm6dsv16b_reg.c6179 static uint16_t npy_floatbits_to_halfbits(uint32_t f) in npy_floatbits_to_halfbits() argument
6184 h_sgn = (uint16_t)((f & 0x80000000u) >> 16); in npy_floatbits_to_halfbits()
6185 f_exp = (f & 0x7f800000u); in npy_floatbits_to_halfbits()
6193 f_sig = (f & 0x007fffffu); in npy_floatbits_to_halfbits()
6232 if ((f & 0x7fffffff) != 0) in npy_floatbits_to_halfbits()
6241 f_sig = (0x00800000u + (f & 0x007fffffu)); in npy_floatbits_to_halfbits()
6265 if (((f_sig & 0x00003fffu) != 0x00001000u) || (f & 0x000007ffu)) in npy_floatbits_to_halfbits()
6284 f_sig = (f & 0x007fffffu); in npy_floatbits_to_halfbits()
6317 static uint16_t npy_float_to_half(float_t f) in npy_float_to_half() argument
6321 float_t f; in npy_float_to_half() member
[all …]
/hal_st-latest/sensor/stmemsc/lsm6dsv16bx_STdC/driver/
Dlsm6dsv16bx_reg.c6513 static uint16_t npy_floatbits_to_halfbits(uint32_t f) in npy_floatbits_to_halfbits() argument
6518 h_sgn = (uint16_t)((f & 0x80000000u) >> 16); in npy_floatbits_to_halfbits()
6519 f_exp = (f & 0x7f800000u); in npy_floatbits_to_halfbits()
6527 f_sig = (f & 0x007fffffu); in npy_floatbits_to_halfbits()
6566 if ((f & 0x7fffffff) != 0) in npy_floatbits_to_halfbits()
6575 f_sig = (0x00800000u + (f & 0x007fffffu)); in npy_floatbits_to_halfbits()
6599 if (((f_sig & 0x00003fffu) != 0x00001000u) || (f & 0x000007ffu)) in npy_floatbits_to_halfbits()
6618 f_sig = (f & 0x007fffffu); in npy_floatbits_to_halfbits()
6651 static uint16_t npy_float_to_half(float_t f) in npy_float_to_half() argument
6655 float_t f; in npy_float_to_half() member
[all …]
/hal_st-latest/sensor/stmemsc/ism330bx_STdC/driver/
Dism330bx_reg.c6493 static uint16_t npy_floatbits_to_halfbits(uint32_t f) in npy_floatbits_to_halfbits() argument
6498 h_sgn = (uint16_t)((f & 0x80000000u) >> 16); in npy_floatbits_to_halfbits()
6499 f_exp = (f & 0x7f800000u); in npy_floatbits_to_halfbits()
6507 f_sig = (f & 0x007fffffu); in npy_floatbits_to_halfbits()
6546 if ((f & 0x7fffffff) != 0) in npy_floatbits_to_halfbits()
6555 f_sig = (0x00800000u + (f & 0x007fffffu)); in npy_floatbits_to_halfbits()
6579 if (((f_sig & 0x00003fffu) != 0x00001000u) || (f & 0x000007ffu)) in npy_floatbits_to_halfbits()
6598 f_sig = (f & 0x007fffffu); in npy_floatbits_to_halfbits()
6631 static uint16_t npy_float_to_half(float_t f) in npy_float_to_half() argument
6635 float_t f; in npy_float_to_half() member
[all …]
/hal_st-latest/sensor/stmemsc/st1vafe6ax_STdC/driver/
Dst1vafe6ax_reg.c6429 static uint16_t npy_floatbits_to_halfbits(uint32_t f) in npy_floatbits_to_halfbits() argument
6434 h_sgn = (uint16_t)((f & 0x80000000u) >> 16); in npy_floatbits_to_halfbits()
6435 f_exp = (f & 0x7f800000u); in npy_floatbits_to_halfbits()
6443 f_sig = (f & 0x007fffffu); in npy_floatbits_to_halfbits()
6482 if ((f & 0x7fffffff) != 0) in npy_floatbits_to_halfbits()
6491 f_sig = (0x00800000u + (f & 0x007fffffu)); in npy_floatbits_to_halfbits()
6515 if (((f_sig & 0x00003fffu) != 0x00001000u) || (f & 0x000007ffu)) in npy_floatbits_to_halfbits()
6534 f_sig = (f & 0x007fffffu); in npy_floatbits_to_halfbits()
6567 static uint16_t npy_float_to_half(float_t f) in npy_float_to_half() argument
6571 float_t f; in npy_float_to_half() member
[all …]
/hal_st-latest/sensor/stmemsc/lsm6dsv_STdC/driver/
Dlsm6dsv_reg.c6086 static uint16_t npy_floatbits_to_halfbits(uint32_t f) in npy_floatbits_to_halfbits() argument
6091 h_sgn = (uint16_t)((f & 0x80000000u) >> 16); in npy_floatbits_to_halfbits()
6092 f_exp = (f & 0x7f800000u); in npy_floatbits_to_halfbits()
6100 f_sig = (f & 0x007fffffu); in npy_floatbits_to_halfbits()
6139 if ((f & 0x7fffffff) != 0) in npy_floatbits_to_halfbits()
6148 f_sig = (0x00800000u + (f & 0x007fffffu)); in npy_floatbits_to_halfbits()
6172 if (((f_sig & 0x00003fffu) != 0x00001000u) || (f & 0x000007ffu)) in npy_floatbits_to_halfbits()
6191 f_sig = (f & 0x007fffffu); in npy_floatbits_to_halfbits()
6224 static uint16_t npy_float_to_half(float_t f) in npy_float_to_half() argument
6228 float_t f; in npy_float_to_half() member
[all …]
/hal_st-latest/sensor/stmemsc/lsm6dsv16x_STdC/driver/
Dlsm6dsv16x_reg.c6266 static uint16_t npy_floatbits_to_halfbits(uint32_t f) in npy_floatbits_to_halfbits() argument
6271 h_sgn = (uint16_t)((f & 0x80000000u) >> 16); in npy_floatbits_to_halfbits()
6272 f_exp = (f & 0x7f800000u); in npy_floatbits_to_halfbits()
6280 f_sig = (f & 0x007fffffu); in npy_floatbits_to_halfbits()
6319 if ((f & 0x7fffffff) != 0) in npy_floatbits_to_halfbits()
6328 f_sig = (0x00800000u + (f & 0x007fffffu)); in npy_floatbits_to_halfbits()
6352 if (((f_sig & 0x00003fffu) != 0x00001000u) || (f & 0x000007ffu)) in npy_floatbits_to_halfbits()
6371 f_sig = (f & 0x007fffffu); in npy_floatbits_to_halfbits()
6404 static uint16_t npy_float_to_half(float_t f) in npy_float_to_half() argument
6408 float_t f; in npy_float_to_half() member
[all …]
/hal_st-latest/sensor/stmemsc/lsm6dsv32x_STdC/driver/
Dlsm6dsv32x_reg.c6267 static uint16_t npy_floatbits_to_halfbits(uint32_t f) in npy_floatbits_to_halfbits() argument
6272 h_sgn = (uint16_t)((f & 0x80000000u) >> 16); in npy_floatbits_to_halfbits()
6273 f_exp = (f & 0x7f800000u); in npy_floatbits_to_halfbits()
6281 f_sig = (f & 0x007fffffu); in npy_floatbits_to_halfbits()
6320 if ((f & 0x7fffffff) != 0) in npy_floatbits_to_halfbits()
6329 f_sig = (0x00800000u + (f & 0x007fffffu)); in npy_floatbits_to_halfbits()
6353 if (((f_sig & 0x00003fffu) != 0x00001000u) || (f & 0x000007ffu)) in npy_floatbits_to_halfbits()
6372 f_sig = (f & 0x007fffffu); in npy_floatbits_to_halfbits()
6405 static uint16_t npy_float_to_half(float_t f) in npy_float_to_half() argument
6409 float_t f; in npy_float_to_half() member
[all …]