Lines Matching +full:- +full:exponent
1 /* main.c - Application main entry point */
6 * SPDX-License-Identifier: Apache-2.0
35 y = -y; in pow()
36 while (y--) { in pow()
40 while (y--) { in pow()
54 int8_t exponent; in notify_func() local
58 params->value_handle = 0U; in notify_func()
64 exponent = ((uint8_t *)data)[4]; in notify_func()
65 temperature = (double)mantissa * pow(10, exponent); in notify_func()
84 printk("[ATTRIBUTE] handle %u\n", attr->handle); in discover_func()
89 discover_params.start_handle = attr->handle + 1; in discover_func()
100 discover_params.start_handle = attr->handle + 2; in discover_func()
111 subscribe_params.ccc_handle = attr->handle; in discover_func()
114 if (err && err != -EALREADY) { in discover_func()
166 printk("[AD]: %u data_len %u\n", data->type, data->data_len); in eir_found()
168 switch (data->type) { in eir_found()
171 if (data->data_len % sizeof(uint16_t) != 0U) { in eir_found()
176 for (i = 0; i < data->data_len; i += sizeof(uint16_t)) { in eir_found()
181 memcpy(&u16, &data->data[i], sizeof(u16)); in eir_found()
216 dev, type, ad->len, rssi); in device_found()