HomeSort by: relevance | last modified time | path
    Searched refs:trunc (Results 1 - 25 of 36) sorted by relevancy

1 2

  /src/lib/libm/src/
s_trunc.c 22 * trunc(x)
27 * Inexact flag raised if x not equal to trunc(x).
34 __strong_alias(_truncl, trunc)
35 __weak_alias(truncl, trunc)
41 trunc(double x) function in typeref:typename:double
  /src/bin/dd/
misc.c 119 if (st.trunc) {
121 (unsigned long long)st.trunc,
122 (st.trunc == 1) ? "block" : "blocks");
272 (unsigned long long)st.trunc);
286 if (st.trunc != 1) ADDS("s");
324 if (st.trunc) {
dd.h 94 uint64_t trunc; /* # of truncated records */ member in struct:__anona918b54a0208
conv.c 182 ++st.trunc;
214 ++st.trunc;
  /src/lib/libm/noieee_src/
n_floor.c 50 __weak_alias(truncl, trunc)
230 trunc(double x) function in typeref:typename:double
  /src/lib/libc_fp/arch/mips/
fpdf.S 103 trunc.l.d $f0, $f12
111 trunc.w.d $f0, $f12
123 trunc.l.d $f0, $f0
138 trunc.w.d $f0, $f0
fpsf.S 103 trunc.l.s $f0, $f12
111 trunc.w.s $f0, $f12
122 trunc.l.s $f0, $f0
136 trunc.w.s $f0, $f0
  /src/tests/lib/lua/libm/
h_lualibm.c 85 TEST(trunc(M_PI));
86 TEST(trunc(M_E));
lualibm.lua 88 test("trunc(M_PI)", lm.trunc(lm.M_PI))
89 test("trunc(M_E)", lm.trunc(lm.M_E))
  /src/sys/lib/libkern/arch/ia64/
divsi3.S 106 // (7) q = trunc(q2)
107 fcvt.fx.trunc.s1 f8=f8
udivsi3.S 106 // (7) q = trunc(q2)
107 fcvt.fxu.trunc.s1 f8=f8
divdi3.S 124 // q = trunc (q3)
125 fcvt.fx.trunc.s1 f8=f8
moddi3.S 137 // (11) q = trunc(q3)
138 fcvt.fx.trunc.s1 f8=f8
modsi3.S 108 // (7) q = trunc(q2)
109 fcvt.fx.trunc.s1 f8=f8
udivdi3.S 125 // (11) q = trunc(q3)
126 fcvt.fxu.trunc.s1 f8=f8
umoddi3.S 133 // (11) q = trunc(q3)
134 fcvt.fxu.trunc.s1 f8=f8
umodsi3.S 108 // (7) q = trunc(q2)
109 fcvt.fxu.trunc.s1 f8=f8
  /src/tests/lib/libm/
t_ceil.c 592 * trunc(3)
597 atf_tc_set_md_var(tc, "descr", "A basic test of trunc(3)");
605 ATF_CHECK(trunc(x) < SMALL_NUM);
606 ATF_CHECK(trunc(y) < SMALL_NUM);
612 atf_tc_set_md_var(tc, "descr", "Test trunc(NaN) == NaN");
619 ATF_CHECK(isnan(trunc(x)) != 0);
625 atf_tc_set_md_var(tc, "descr", "Test trunc(-Inf) == -Inf");
631 double y = trunc(x);
634 atf_tc_fail_nonfatal("trunc(-Inf) != -Inf");
640 atf_tc_set_md_var(tc, "descr", "Test trunc(+Inf) == +Inf")
    [all...]
  /src/usr.bin/mail/
quit.c 114 trunc(obuf); /* XXX or should we truncate? */
222 trunc(obuf);
514 trunc(obuf); /* XXX or should we truncate? */
561 trunc(abuf);
def.h 417 #define trunc(stream) { \ macro
  /src/usr.sbin/bootp/bootptest/
print-bootp.c 65 #define TCHECK(var, l) if ((u_char *)&(var) > ep - l) goto trunc
181 trunc:
  /src/libexec/mail.local/
mail.local.c 286 goto trunc;
291 trunc: (void)ftruncate(mbfd, curoff);
  /src/lib/libc/gdtoa/
strtodg.c 195 goto trunc;
209 ) goto trunc;
214 goto trunc;
224 goto trunc;
228 goto trunc;
232 trunc:
  /src/include/
tgmath.h 186 #define trunc(a) __TG_FN1(trunc, (a)) macro
  /src/lib/lua/libm/
libm.c 155 DFUNC_DBL(trunc)
295 { "trunc", libm_trunc },

Completed in 19 milliseconds

1 2