Searched refs:fractional_part (Results 1 – 7 of 7) sorted by relevance
121 U fractional_part = modf(n, &integer_part); in call_n() local123 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()
31 uint16_t fractional_part; /**< Fractional part of fixed point variable member445 ((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) \
36 (a.fractional_part == b.fractional_part); in fpeq()63 return fp.integer_part + fp.fractional_part/1000.0; in fp_to_double()
43 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()
88 ((1 << (frac)) * fval.fractional_part + 500)/1000))
235 boolean fractional_part = FALSE; in parse_float() local258 fractional_part = TRUE; in parse_float()263 if (!integral_part && !fractional_part) in parse_float()
69 uint16_t fractional_part; /* Fractional part of fixed point variable