Home
last modified time | relevance | path

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

/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/cmsis-dsp/Source/FastMathFunctions/
A Darm_sqrt_q15.c97 var1 = (q31_t) (temp_float1 * 16384); in arm_sqrt_q15()
100 var1 = ((q15_t) ((q31_t) var1 * (0x3000 - in arm_sqrt_q15()
103 (((q31_t) var1 * var1) >> 15)) * in arm_sqrt_q15()
106 var1 = ((q15_t) ((q31_t) var1 * (0x3000 - in arm_sqrt_q15()
109 (((q31_t) var1 * var1) >> 15)) * in arm_sqrt_q15()
112 var1 = ((q15_t) ((q31_t) var1 * (0x3000 - in arm_sqrt_q15()
115 (((q31_t) var1 * var1) >> 15)) * in arm_sqrt_q15()
119 var1 = ((q15_t) (((q31_t) temp1 * var1) >> 15)) << 1; in arm_sqrt_q15()
124 var1 = var1 >> (signBits1 / 2); in arm_sqrt_q15()
128 var1 = var1 >> ((signBits1 - 1) / 2); in arm_sqrt_q15()
[all …]
A Darm_sqrt_q31.c95 var1 = (q31_t) (temp_float1 * 1073741824); in arm_sqrt_q31()
98 var1 = ((q31_t) ((q63_t) var1 * (0x30000000 - in arm_sqrt_q31()
101 (((q63_t) var1 * var1) >> 31)) * in arm_sqrt_q31()
104 var1 = ((q31_t) ((q63_t) var1 * (0x30000000 - in arm_sqrt_q31()
107 (((q63_t) var1 * var1) >> 31)) * in arm_sqrt_q31()
110 var1 = ((q31_t) ((q63_t) var1 * (0x30000000 - in arm_sqrt_q31()
113 (((q63_t) var1 * var1) >> 31)) * in arm_sqrt_q31()
117 var1 = ((q31_t) (((q63_t) temp1 * var1) >> 31)) << 1; in arm_sqrt_q31()
122 var1 = var1 >> (signBits1 / 2); in arm_sqrt_q31()
126 var1 = var1 >> ((signBits1 - 1) / 2); in arm_sqrt_q31()
[all …]
/AliOS-Things-master/solutions/javascript_demo/agriculture_demo/
A Dbmp280.js137 var var1 = (calibParamT_FINE >> 1) - 64000;
138 var var2 = (((var1 >> 2) * (var1 >> 2)) >> 11) * calibParamP6;
139 var2 = var2 + ((var1 * calibParamP5) << 1);
141var1 = (((calibParamP3 * (((var1 >> 2) * (var1 >> 2)) >> 13)) >> 3) + ((calibParamP2 * var1) >> 1)…
142 var1 = ((32768 + var1) * calibParamP1) >> 15;
145 if (var1 != 0) {
148 pressure = (pressure / var1) << 1;
150 pressure = (pressure / var1) << 1;
153 var1 = (calibParamP9 * (((pressure >> 3) * (pressure >> 3)) >> 13)) >> 12;
155 pressure = (pressure + ((var1 + var2 + calibParamP7) >> 4))
/AliOS-Things-master/components/sensor/drv/
A Ddrv_temp_humi_baro_bosch_bme280.c645 int32_t var1; in drv_bosch_bme280_comp_temp() local
660 var1 = (var1 * ((int32_t)g_cali_table.dig_T2)) / 2048; in drv_bosch_bme280_comp_temp()
663 g_cali_table.t_fine = var1 + var2; in drv_bosch_bme280_comp_temp()
679 int32_t var1 = 0; in drv_bosch_bme280_comp_humi() local
698 var4 = ((int32_t)g_cali_table.dig_H5) * var1; in drv_bosch_bme280_comp_humi()
721 int32_t var1 = 0; in drv_bosch_bme280_comp_baro() local
739 var2 = (((var1 / 4) * (var1 / 4)) / 2048) * ((int32_t)g_cali_table.dig_P6); in drv_bosch_bme280_comp_baro()
742 var3 = (g_cali_table.dig_P3 * (((var1 / 4) * (var1 / 4)) / 8192)) / 8; in drv_bosch_bme280_comp_baro()
744 var1 = (var3 + var4) / 262144; in drv_bosch_bme280_comp_baro()
745 var1 = (((32768 + var1)) * ((int32_t)g_cali_table.dig_P1)) / 32768; in drv_bosch_bme280_comp_baro()
[all …]
/AliOS-Things-master/components/py_engine/engine/py/
A Dsequence.c34 #define SWAP(type, var1, var2) { type t = var2; var2 = var1; var1 = t; } argument
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/test/core/
A Dutils_ut.cc82 const std::string var1 = GetEnv("PATH"); in TEST() local
83 EXPECT_FALSE(var1.empty()); in TEST()
/AliOS-Things-master/components/SDL2/src/image/external/jpeg-9b/
A Djdct.h392 #define MULTIPLY16V16(var1,var2) (((INT16) (var1)) * ((INT16) (var2))) argument
396 #define MULTIPLY16V16(var1,var2) ((var1) * (var2)) argument

Completed in 34 milliseconds