Home
last modified time | relevance | path

Searched refs:lfptoms (Results 1 – 6 of 6) sorted by relevance

/freebsd-9-stable/contrib/ntp/tests/libntp/
Dlfptostr.c59 TEST_ASSERT_EQUAL_STRING("-100000.0000000", lfptoms(&test, LFP_MAX_PRECISION_MS)); in test_NegativeInteger()
67 TEST_ASSERT_EQUAL_STRING("200250.0000000", lfptoms(&test, LFP_MAX_PRECISION_MS)); in test_PositiveIntegerWithFraction()
75 TEST_ASSERT_EQUAL_STRING("-99750.0000000", lfptoms(&test, LFP_MAX_PRECISION_MS)); in test_NegativeIntegerWithFraction()
83 TEST_ASSERT_EQUAL_STRING("10250", lfptoms(&test, 0)); in test_RoundingDownToInteger()
91 TEST_ASSERT_EQUAL_STRING("10500", lfptoms(&test, 0)); in test_RoundingMiddleToInteger()
99 TEST_ASSERT_EQUAL_STRING("5750", lfptoms(&test, 0)); in test_RoundingUpToInteger()
107 TEST_ASSERT_EQUAL_STRING("8250.0", lfptoms(&test, 1)); in test_SingleDecimal()
116 TEST_ASSERT_EQUAL_STRING("1000.5", lfptoms(&test, 1)); in test_MillisecondsRoundingUp()
117 TEST_ASSERT_EQUAL_STRING("1001", lfptoms(&test, 0)); in test_MillisecondsRoundingUp()
126 TEST_ASSERT_EQUAL_STRING("1000.5", lfptoms(&test, 1)); in test_MillisecondsRoundingDown()
[all …]
/freebsd-9-stable/contrib/ntp/include/
Dntp_fp.h371 #define lfptoms(fpv, ndec) mfptoms((fpv)->l_ui, (fpv)->l_uf, (ndec)) macro
/freebsd-9-stable/contrib/ntp/ntpq/
Dntpq-subs.c1861 reach, lfptoms(&estdelay, 3), in doprintpeers()
1862 lfptoms(&estoffset, 3), in doprintpeers()
1864 ? lfptoms(&estjitter, 3) in doprintpeers()
1865 : lfptoms(&estdisp, 3)); in doprintpeers()
Dntpq.c3279 cp = lfptoms(lfp, 2); in outputarr()
/freebsd-9-stable/contrib/ntp/ntpd/
Dntp_io.c3835 lfptoms(&ts_e, 6));
Drefclock_parse.c3557 snprintf(tt, 80, "refclock_ppsskew=%s", lfptoms(&off, 6)); in parse_control()