/Zephyr-latest/lib/libc/minimal/source/math/ |
D | sqrt.c | 26 int64_t exponent; in sqrt() local 41 * we can do this by dividing the exponent part of the float by 2 in sqrt() 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()
|
D | sqrtf.c | 26 int32_t exponent; in sqrtf() local 41 * we can do this by dividing the exponent part of the float by 2 in sqrtf() 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/subsys/net/l2/ieee802154/ |
D | Kconfig.radio | 59 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
|
D | ieee802154_radio_csma_ca.c | 26 "The CSMA/CA min backoff exponent must be less or equal max backoff exponent.");
|
/Zephyr-latest/tests/lib/c_lib/common/src/ |
D | test_sqrt.c | 92 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/drivers/ieee802154/ |
D | Kconfig.cc13xx_cc26xx | 39 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/dts/bindings/clock/ |
D | litex,clkout.yaml | 62 exponent for clkout margin 64 margin * 10^(-exponent) * 100%
|
/Zephyr-latest/samples/bluetooth/peripheral_ht/src/ |
D | hts.c | 86 uint8_t exponent; in hts_indicate() local 119 exponent = (uint8_t)-2; in hts_indicate() 123 htm[4] = exponent; in hts_indicate()
|
/Zephyr-latest/drivers/sensor/ti/opt3001/ |
D | opt3001.c | 95 * sample consists of 4 bits of exponent and 12 bits of mantissa in opt3001_channel_get() 96 * bits 15 to 12 are exponent bits in opt3001_channel_get() 100 * (2^(exponent value)) * 0.01 * mantissa value in opt3001_channel_get()
|
/Zephyr-latest/dts/bindings/timer/ |
D | nuclei,systimer.yaml | 37 This property takes exponent of the power of 2.
|
/Zephyr-latest/samples/bluetooth/central_ht/src/ |
D | main.c | 54 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/sensor/maxim/max44009/ |
D | max44009.c | 152 * sample consists of 4 bits of exponent and 8 bits of mantissa in max44009_channel_get() 153 * bits 15 to 12 are exponent bits in max44009_channel_get()
|
/Zephyr-latest/subsys/net/lib/lwm2m/ |
D | lwm2m_util.c | 79 /* adjust exponent for bias */ in lwm2m_float_to_b32() 91 /* exponent: bits 30-23 */ in lwm2m_float_to_b32() 161 /* adjust exponent for bias */ in lwm2m_float_to_b64() 173 /* exponent: bits 62-52 */ in lwm2m_float_to_b64() 207 /* calc exponent: bits 30-23 */ in lwm2m_b32_to_float() 274 /* get exponent: bits 62-52 */ in lwm2m_b64_to_float()
|
/Zephyr-latest/drivers/wifi/nrf_wifi/inc/ |
D | wifi_mgmt.h | 27 unsigned char exponent; member
|
/Zephyr-latest/drivers/wifi/nrf_wifi/src/ |
D | wifi_mgmt.c | 245 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/lib/os/ |
D | cbprintf_complete.c | 44 * leading 0, a dot, and an exponent in the form e+xxx for a total of 834 /* Number of bits in the exponent of an IEEE 754-2008 double precision 898 /* Extract the non-negative offset exponent and fraction. Record in encode_float() 906 /* Exponent of all-ones signals infinity or NaN, which are in encode_float() 956 /* Remove the offset from the exponent, and store the in encode_float() 958 * exponent as first bit isn't the implicit bit. in encode_float() 1070 * discard garbage from the exponent where the implicit 1 would be in encode_float() 1080 * the exponent. in encode_float() 1086 /* Adjust the offset exponent to be signed rather than offset, in encode_float() 1146 /* Use the specified precision and exponent to select the in encode_float() [all …]
|
/Zephyr-latest/drivers/flash/ |
D | flash_andes_qspi.c | 630 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()
|
D | jesd216.c | 138 /* Extract the exponent and command */ in jesd216_bfp_erase()
|
/Zephyr-latest/tests/lib/sprintf/src/ |
D | main.c | 71 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/watchdog/ |
D | wdt_wwdg_stm32.c | 109 * @param prescaler_exp The prescaler exponent value(Base 2). 128 * @param prescaler_exp Pointer to prescaler exponent value(Base 2).
|
D | wdt_wwdgt_gd32.c | 43 * @param exp exponent part of prescaler
|
/Zephyr-latest/subsys/bluetooth/services/bas/ |
D | bas.c | 69 .exponent = 0x0,
|
/Zephyr-latest/drivers/dai/intel/dmic/ |
D | dmic.c | 39 /* Exponent function for small values of x. This function calculates 40 * fairly accurately exponent for x in range -2.0 .. +2.0. The iteration 41 * uses first 11 terms of Taylor series approximation for exponent
|
/Zephyr-latest/subsys/net/l2/wifi/ |
D | wifi_shell.c | 1537 int exponent = 0; in cmd_wifi_twt_setup_quick() local 1564 /* derive mantissa and exponent from interval */ in cmd_wifi_twt_setup_quick() 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 1654 {"exponent", required_argument, 0, 'e'}, in twt_args_to_params() 1780 PR_ERROR("Only one of TWT internal or (mantissa, exponent) should be used\n"); in twt_args_to_params() 1787 /* derive mantissa and exponent from interval */ in twt_args_to_params() 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() [all …]
|
/Zephyr-latest/drivers/sensor/bosch/bmp388/ |
D | bmp388.c | 166 /* Determine exponent: this corresponds to register setting. */ in bmp388_attr_set_oversampling()
|