Home
last modified time | relevance | path

Searched refs:exponent (Results 1 – 15 of 15) sorted by relevance

/Zephyr-latest/lib/libc/minimal/source/math/
Dsqrt.c26 int64_t exponent; in sqrt() local
44 exponent = ((p_square.i & EXP_MASK64) >> 52) - 1023; in sqrt()
45 if (exponent == 0x7FF - 1023) { in sqrt()
49 exponent /= 2; in sqrt()
50 root.i = (p_square.i & ~EXP_MASK64) | (exponent + 1023) << 52; in sqrt()
Dsqrtf.c26 int32_t exponent; in sqrtf() local
44 exponent = ((p_square.i & EXP_MASK32) >> 23) - 127; in sqrtf()
45 if (exponent == 0xFF - 127) { in sqrtf()
49 exponent /= 2; in sqrtf()
50 root.i = (p_square.i & ~EXP_MASK32) | (exponent + 127) << 23; in sqrtf()
/Zephyr-latest/tests/lib/c_lib/common/src/
Dtest_sqrt.c92 float exponent, resf, square, root_squared, error; in ZTEST() local
113 for (exponent = 1.0e-10f; exponent < 1.0e10f; exponent *= 10.0f) { in ZTEST()
115 square = test_floats[i] * exponent; in ZTEST()
151 double resd, error, square, root_squared, exponent; in ZTEST() local
172 for (exponent = 1.0e-10; exponent < 1.0e10; exponent *= 10.0) { in ZTEST()
174 square = test_doubles[i] * exponent; in ZTEST()
/Zephyr-latest/samples/bluetooth/peripheral_ht/src/
Dhts.c86 uint8_t exponent; in hts_indicate() local
119 exponent = (uint8_t)-2; in hts_indicate()
123 htm[4] = exponent; in hts_indicate()
/Zephyr-latest/subsys/net/l2/ieee802154/
DKconfig.radio59 int "CSMA MAC minimum backoff exponent"
63 The minimum value of the backoff exponent (BE) in the CSMA-CA
68 int "CSMA MAC maximum backoff exponent"
72 The maximum value of the backoff exponent (BE) in the CSMA-CA
/Zephyr-latest/drivers/ieee802154/
DKconfig.cc13xx_cc26xx39 int "CSMA MAC minimum backoff exponent"
44 The minimum value of the backoff exponent (BE) in the CSMA-CA
48 int "CSMA MAC maximum backoff exponent"
53 The maximum value of the backoff exponent (BE) in the CSMA-CA
/Zephyr-latest/samples/bluetooth/central_ht/src/
Dmain.c54 int8_t exponent; in notify_func() local
64 exponent = ((uint8_t *)data)[4]; in notify_func()
65 temperature = (double)mantissa * pow(10, exponent); in notify_func()
/Zephyr-latest/drivers/wifi/nrf_wifi/inc/
Dwifi_mgmt.h27 unsigned char exponent; member
/Zephyr-latest/tests/lib/sprintf/src/
Dmain.c71 uint32_t exponent; member
78 uint32_t exponent; member
121 var.exponent = 0x00000000; in ZTEST()
147 var.exponent = 0x00000000; in ZTEST()
177 var.exponent = 0x00000000; in ZTEST()
207 var.exponent = 0x00000000; in ZTEST()
379 var.exponent = 0x00000001; in ZTEST()
/Zephyr-latest/drivers/wifi/nrf_wifi/src/
Dwifi_mgmt.c245 int exponent = 0; in nrf_wifi_twt_us_to_float() local
250 mantissa = frexp(twt_interval_ms, &exponent); in nrf_wifi_twt_us_to_float()
253 twt_interval_fp.exponent = exponent; in nrf_wifi_twt_us_to_float()
261 return floor(ldexp(twt_interval_fp.mantissa, twt_interval_fp.exponent) / (1000)) * in nrf_wifi_twt_float_to_us()
420 twt_interval_fp.exponent = twt_rpu->twt_target_wake_interval_exponent; in nrf_wifi_event_proc_get_power_save_info()
567 twt_info.twt_target_wake_interval_exponent = twt_interval_fp.exponent; in nrf_wifi_set_twt()
643 twt_interval_fp.exponent = twt_setup_info->info.twt_target_wake_interval_exponent; in nrf_wifi_event_proc_twt_setup_zep()
/Zephyr-latest/drivers/flash/
Dflash_andes_qspi.c630 uint8_t exponent = 0; in setup_pages_layout() local
638 ((exponent == 0) || (etp->exp < exponent))) { in setup_pages_layout()
639 exponent = etp->exp; in setup_pages_layout()
643 if (exponent == 0) { in setup_pages_layout()
647 uint32_t erase_size = BIT(exponent); in setup_pages_layout()
/Zephyr-latest/subsys/bluetooth/services/bas/
Dbas.c69 .exponent = 0x0,
/Zephyr-latest/subsys/net/l2/wifi/
Dwifi_shell.c1537 int exponent = 0; in cmd_wifi_twt_setup_quick() local
1565 twt_mantissa_scale = frexp(twt_interval_scale, &exponent); in cmd_wifi_twt_setup_quick()
1567 params.setup.twt_exponent = exponent; in cmd_wifi_twt_setup_quick()
1640 int exponent = 0; in twt_args_to_params() local
1788 twt_mantissa_scale = frexp(twt_interval_scale, &exponent); in twt_args_to_params()
1790 params->setup.twt_exponent = exponent; in twt_args_to_params()
/Zephyr-latest/include/zephyr/bluetooth/
Dgatt.h515 int8_t exponent; member
/Zephyr-latest/subsys/bluetooth/host/
Dgatt.c2295 int8_t exponent; member
2309 value.exponent = cpf->exponent; in bt_gatt_attr_read_cpf()
4278 value.cpf.exponent = cpf->exponent; in parse_read_std_char_desc()