Home
last modified time | relevance | path

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

/third_party/boost/boost/spirit/home/karma/numeric/detail/
Dreal_utils.hpp121 U fractional_part = modf(n, &integer_part); in call_n() local
123 fractional_part = floor(fractional_part * precexp + U(0.5)); in call_n()
124 if (fractional_part >= precexp) in call_n()
126 fractional_part = floor(fractional_part - precexp); in call_n()
133 U long_frac_part = fractional_part; in call_n()
/third_party/libcoap/include/coap3/
Dcoap_session.h31 uint16_t fractional_part; /**< Fractional part of fixed point variable member
445 ((s->ack_timeout.integer_part * 1000 + s->ack_timeout.fractional_part) * \
448 s->ack_random_factor.fractional_part) \
458 ((s->ack_timeout.integer_part * 1000 + s->ack_timeout.fractional_part) * \
461 s->ack_random_factor.fractional_part) \
477 ((s->ack_timeout.integer_part * 1000 + s->ack_timeout.fractional_part + 500) \
/third_party/libcoap/tests/
Dtest_session.c36 (a.fractional_part == b.fractional_part); in fpeq()
63 return fp.integer_part + fp.fractional_part/1000.0; in fp_to_double()
/third_party/libcoap/src/
Dcoap_session.c43 if (value.integer_part > 0 && value.fractional_part < 1000) in coap_session_set_ack_timeout()
47 session->ack_timeout.fractional_part); in coap_session_set_ack_timeout()
54 if (value.integer_part > 0 && value.fractional_part < 1000) in coap_session_set_ack_random_factor()
58 session->ack_random_factor.fractional_part); in coap_session_set_ack_random_factor()
Dnet.c88 ((1 << (frac)) * fval.fractional_part + 500)/1000))
/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_text.c235 boolean fractional_part = FALSE; in parse_float() local
258 fractional_part = TRUE; in parse_float()
263 if (!integral_part && !fractional_part) in parse_float()
/third_party/libcoap/man/
Dcoap_recovery.txt.in69 uint16_t fractional_part; /* Fractional part of fixed point variable