Home
last modified time | relevance | path

Searched refs:integer_part (Results 1 – 11 of 11) sorted by relevance

/third_party/libcoap/include/coap3/
Dcoap_session_internal.h400 (COAP_NON_TIMEOUT(s).integer_part * COAP_TICKS_PER_SECOND + \
413 (COAP_DEFAULT_LEISURE(s).integer_part * COAP_TICKS_PER_SECOND + \
422 (((s)->ack_timeout.integer_part * 1000 + (s)->ack_timeout.fractional_part) * \
424 ((s)->ack_random_factor.integer_part * 1000 + \
435 (((s)->ack_timeout.integer_part * 1000 + (s)->ack_timeout.fractional_part) * \
437 ((s)->ack_random_factor.integer_part * 1000 + \
451 (((s)->ack_timeout.integer_part * 1000 + (s)->ack_timeout.fractional_part + \
489 … COAP_NON_RECEIVE_TIMEOUT(s).integer_part * COAP_TICKS_PER_SECOND + \
505 (COAP_NON_PROBING_WAIT(s).integer_part * COAP_TICKS_PER_SECOND + \
515 (COAP_NON_PARTIAL_TIMEOUT(s).integer_part * COAP_TICKS_PER_SECOND + \
Dcoap_session.h31 uint16_t integer_part; /**< Integer part of fixed point variable */ member
/third_party/jerryscript/jerry-core/ecma/base/
Decma-helpers-conversion.c943 double integer_part, fraction_part; in ecma_double_to_binary_floating_point() local
946 integer_part = floor (val); in ecma_double_to_binary_floating_point()
947 int32_t num_of_digits = ecma_number_of_digits (integer_part); in ecma_double_to_binary_floating_point()
949 if (fabs (integer_part) < EPSILON) in ecma_double_to_binary_floating_point()
956 while (integer_part > 0.0) in ecma_double_to_binary_floating_point()
958 …buffer_p[num_of_digits - 1 - char_cnt++] = (lit_utf8_byte_t) ((int) fmod (integer_part, 10.0) + '0… in ecma_double_to_binary_floating_point()
959 integer_part = floor (integer_part / 10.0); in ecma_double_to_binary_floating_point()
964 ecma_double_to_ascii (integer_part, buffer_p, num_of_digits, &char_cnt); in ecma_double_to_binary_floating_point()
983 integer_part = floor (tmp); in ecma_double_to_binary_floating_point()
984 buffer_p[char_cnt++] = (lit_utf8_byte_t) ('0' + (int) integer_part); in ecma_double_to_binary_floating_point()
/third_party/node/deps/v8/src/bigint/
Ddiv-barrett.cc28 digit_t integer_part = X.msd(); in DcheckIntegerPartRange() local
29 DCHECK(integer_part >= min); in DcheckIntegerPartRange()
30 DCHECK(integer_part <= max); in DcheckIntegerPartRange()
165 digit_t integer_part = W.msd() - U.msd() - borrow; in InvertNewton() local
166 DCHECK(integer_part == 1 || integer_part == 2); in InvertNewton()
167 if (integer_part == 2) { in InvertNewton()
/third_party/libcoap/src/
Dcoap_session.c165 res.integer_part = fp1.integer_part * fp2.integer_part + fr/1000; in coap_multi_fixed_fixed()
175 res.integer_part = fp1.integer_part * u2 + fr/1000; in coap_multi_fixed_uint()
185 res.integer_part = fp1.integer_part + fp2.integer_part + fr/1000; in coap_add_fixed_fixed()
194 res.integer_part += u2; in coap_add_fixed_uint()
202 res.integer_part -= u2; in coap_sub_fixed_uint()
209 uint32_t num = (fp1.integer_part * 1000 + fp1.fractional_part) / u2; in coap_div_fixed_uint()
211 res.integer_part = num / 1000; in coap_div_fixed_uint()
233 coap_tick_t ticks = (res.integer_part * COAP_TICKS_PER_SECOND + in coap_get_non_timeout_random_ticks()
280 if (value.integer_part > 0 && value.fractional_part < 1000) { in coap_session_set_ack_timeout()
283 coap_session_str(session), session->ack_timeout.integer_part, in coap_session_set_ack_timeout()
[all …]
Dcoap_net.c92 #define Q(frac,fval) ((uint16_t)(((1 << (frac)) * fval.integer_part) + \
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DTimeValue.h108 SecondsType integer_part = static_cast<SecondsType>( new_time ); in TimeValue() local
109 seconds_ = integer_part; in TimeValue()
111 static_cast<double>(integer_part)) * NANOSECONDS_PER_SECOND ); in TimeValue()
/third_party/libcoap/tests/
Dtest_session.c36 return (a.integer_part == b.integer_part) && in fpeq()
64 return fp.integer_part + fp.fractional_part/1000.0; in fp_to_double()
/third_party/skia/third_party/externals/tint/src/reader/wgsl/
Dlexer.cc366 auto set_next_mantissa_bit_to = [&](bool set, bool integer_part) -> bool { in try_hex_float() argument
370 const bool check_overflow = integer_part || set; in try_hex_float()
/third_party/libcoap/man/
Dcoap_recovery.txt.in126 uint16_t integer_part; /* Integer part of fixed point variable */
/third_party/libcoap/examples/
Dcoap-client.c1896 wait_seconds = coap_session_get_default_leisure(session).integer_part + 1; in main()