Home
last modified time | relevance | path

Searched full:exponent (Results 1 – 25 of 26) sorted by relevance

12

/Zephyr-Core-3.5.0/lib/libc/minimal/source/math/
Dsqrtf.c23 int32_t exponent; in sqrtf() local
36 * we can do this by dividing the exponent part of the float by 2 in sqrtf()
39 exponent = ((*p_square & EXP_MASK32)>>23)-127; in sqrtf()
40 if (exponent == 0xFF-127) { in sqrtf()
44 exponent /= 2; in sqrtf()
45 *p_root = (*p_square & ~EXP_MASK32) | (exponent+127) << 23; in sqrtf()
Dsqrt.c21 int64_t exponent; in sqrt() local
36 * we can do this by dividing the exponent part of the float by 2 in sqrt()
39 exponent = ((*p_square & EXP_MASK64)>>52)-1023; in sqrt()
40 if (exponent == 0x7FF-1023) { in sqrt()
44 exponent /= 2; in sqrt()
45 *p_root = (*p_square & ~EXP_MASK64) | (exponent+1023)<<52; in sqrt()
/Zephyr-Core-3.5.0/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
Dieee802154_radio_csma_ca.c26 "The CSMA/CA min backoff exponent must be less or equal max backoff exponent.");
/Zephyr-Core-3.5.0/tests/lib/c_lib/src/
Dtest_sqrt.c100 float exponent, resf, square, root_squared; in ZTEST() local
132 for (exponent = 1.0e-10f; exponent < 1.0e10f; exponent *= 10.0f) { in ZTEST()
134 square = test_floats[i] * exponent; in ZTEST()
170 double resd, error, square, root_squared, exponent; in ZTEST() local
199 for (exponent = 1.0e-10; exponent < 1.0e10; exponent *= 10.0) { in ZTEST()
201 square = test_doubles[i] * exponent; in ZTEST()
/Zephyr-Core-3.5.0/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-Core-3.5.0/dts/bindings/clock/
Dlitex,clkout.yaml62 exponent for clkout margin
64 margin * 10^(-exponent) * 100%
/Zephyr-Core-3.5.0/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-Core-3.5.0/drivers/sensor/opt3001/
Dopt3001.c95 * 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-Core-3.5.0/dts/bindings/timer/
Dnuclei,systimer.yaml37 This property takes exponent of the power of 2.
/Zephyr-Core-3.5.0/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-Core-3.5.0/subsys/net/lib/lwm2m/
Dlwm2m_util.c79 /* 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-Core-3.5.0/drivers/sensor/max44009/
Dmax44009.c152 * 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-Core-3.5.0/lib/os/
Dcbprintf_complete.c44 * leading 0, a dot, and an exponent in the form e+xxx for a total of
831 /* Number of bits in the exponent of an IEEE 754-2008 double precision
895 /* Extract the non-negative offset exponent and fraction. Record in encode_float()
903 /* Exponent of all-ones signals infinity or NaN, which are in encode_float()
948 /* Remove the offset from the exponent, and store the in encode_float()
950 * exponent as first bit isn't the implicit bit. in encode_float()
1051 * discard garbage from the exponent where the implicit 1 would be in encode_float()
1061 * the exponent. in encode_float()
1067 /* Adjust the offset exponent to be signed rather than offset, in encode_float()
1127 /* Use the specified precision and exponent to select the in encode_float()
[all …]
/Zephyr-Core-3.5.0/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()
Djesd216.c138 /* Extract the exponent and command */ in jesd216_bfp_erase()
/Zephyr-Core-3.5.0/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-Core-3.5.0/drivers/watchdog/
Dwdt_wwdg_stm32.c109 * @param prescaler_exp The prescaler exponent value(Base 2).
128 * @param prescaler_exp Pointer to prescaler exponent value(Base 2).
Dwdt_wwdgt_gd32.c43 * @param exp exponent part of prescaler
/Zephyr-Core-3.5.0/drivers/dai/intel/dmic/
Ddmic.c39 /* 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-Core-3.5.0/include/zephyr/sys/
Dring_buffer.h132 * @param pow Ring buffer size exponent.
/Zephyr-Core-3.5.0/drivers/sensor/bmp388/
Dbmp388.c161 /* Determine exponent: this corresponds to register setting. */ in bmp388_attr_set_oversampling()
/Zephyr-Core-3.5.0/include/zephyr/usb/class/
Dhid.h98 /** HID Unit Exponent item tag */
/Zephyr-Core-3.5.0/drivers/clock_control/
Dclock_control_litex.c1219 * Written since there is no pow() in math.h. Only for exponent
1253 /* Scale margin according to its exponent */ in litex_clk_calc_clkout_params()
/Zephyr-Core-3.5.0/include/zephyr/bluetooth/
Dgatt.h353 /** Exponent field to determine how the value of this characteristic is
356 int8_t exponent; member

12