Home
last modified time | relevance | path

Searched refs:round (Results 1 – 25 of 110) sorted by relevance

12345

/illumos-gate/usr/src/lib/libc/sparc/fp/
H A D__quad_mag.c67 round = sticky = 0; in __quad_mag_add()
131 sticky |= round; in __quad_mag_add()
132 round = frac4 & 1; in __quad_mag_add()
151 if (round | sticky) { in __quad_mag_add()
270 sticky |= round; in __quad_mag_sub()
271 round = guard; in __quad_mag_sub()
282 round = !round; in __quad_mag_sub()
284 } else if (round) { in __quad_mag_sub()
372 sticky |= round; in __quad_mag_sub()
373 round = guard; in __quad_mag_sub()
[all …]
H A D_Q_qtod.c40 unsigned int xm, round, sticky, fsr, rm; in _Q_qtod() local
124 round = x->l.frac3 & 0x10000000; in _Q_qtod()
128 sticky |= round | (u.l.lo & 0x7fffffff); in _Q_qtod()
129 round = u.l.lo & 0x80000000; in _Q_qtod()
135 sticky |= round | (u.l.lo & ((1 << (e - 1)) - 1)); in _Q_qtod()
136 round = u.l.lo & (1 << (e - 1)); in _Q_qtod()
144 round = x->l.frac3 & 0x8000000; in _Q_qtod()
150 if (round | sticky) { in _Q_qtod()
156 if (rm == FSR_RP || (rm == FSR_RN && round && (sticky || in _Q_qtod()
H A D_Q_qtos.c43 unsigned int xm, round, sticky, fsr, rm; in _Q_qtos() local
120 round = u.l & (1 << e); in _Q_qtos()
127 round = x->l.frac2 & 0x1000000; in _Q_qtos()
133 if (round | sticky) { in _Q_qtos()
139 if (rm == FSR_RP || (rm == FSR_RN && round && (sticky || in _Q_qtos()
H A D_Q_qtoi.c40 int i, round; in _Q_qtoi() local
88 round = i & ((1 << (0x401d - (xm >> 16))) - 1); in _Q_qtoi()
92 if (round | (x->l.frac2 & 0x3ffff) | x->l.frac3 | x->l.frac4) { in _Q_qtoi()
H A Dfpsetrnd.S38 set 0xc0000000, %o4 ! mask of round control bits
47 srl %o0, 30, %o0 ! return old round control value
H A D_Q_qtou.c41 int i, round; in _Q_qtou() local
141 round = i & ((1 << (0x401d - (xm >> 16))) - 1); in _Q_qtou()
145 if (round | (x->l.frac2 & 0x3ffff) | x->l.frac3 | x->l.frac4) { in _Q_qtou()
/illumos-gate/usr/src/lib/libmvec/common/
H A D__vexp.c348 #define round C[0].d macro
366 y##N -= round; \
452 y0 = (x0 * invln2_256) + round; in __vexp()
453 y1 = (x1 * invln2_256) + round; in __vexp()
454 y2 = (x2 * invln2_256) + round; in __vexp()
466 y0 -= round; in __vexp()
467 y1 -= round; in __vexp()
468 y2 -= round; in __vexp()
469 y3 -= round; in __vexp()
470 y4 -= round; in __vexp()
[all …]
/illumos-gate/usr/src/data/zoneinfo/
H A Dantarctica18 # Argentina - year-round bases
35 # year-round bases
126 # Belgium - year-round base
129 # Brazil - year-round base
144 # China - year-round bases
181 # India - year-round bases
188 # Japan - year-round bases
199 # year-round base
209 # year-round base
313 # year-round bases
[all …]
/illumos-gate/usr/src/common/crypto/sha1/sparc/sun4u/
H A Dsha1_asm.S157 ! Starting round 0
185 ! Starting round 1
214 ! Starting round 2
243 ! Starting round 3
271 ! Starting round 4
298 ! Starting round 5
328 ! Starting round 6
360 ! Starting round 7
387 ! Starting round 8
418 ! Starting round 9
[all …]
/illumos-gate/usr/src/common/crypto/sha2/amd64/
H A Dsha512-x86_64.pl67 $ctx, $round, $inp, $Tbl, $_ctx, $_inp, $_end, $_rsp, $framesz);
110 $round="%rdi"; # zaps $ctx
152 add ($Tbl,$round,$SZ),$T1 # T1+=K[round]
166 lea 1($round),$round # round++
266 xor $round,$round
285 cmp \$$rounds,$round
/illumos-gate/usr/src/cmd/dispadmin/
H A Dsubr.c99 _hrtnewres(hrtimer_t *htp, ulong_t new_res, long round) in _hrtnewres() argument
168 if (round == HRT_RND) { in _hrtnewres()
188 } else if (round == HRT_RNDUP) { in _hrtnewres()
230 if (round == HRT_RND) { in _hrtnewres()
233 } else if (round == HRT_RNDUP) { in _hrtnewres()
/illumos-gate/usr/src/common/crypto/aes/amd64/
H A Daes_amd64.S331 mov fk_ref(round,0), p1; \
332 mov fk_ref(round,1), p2; \
333 mov fk_ref(round,2), p3; \
334 mov fk_ref(round,3), p4; \
385 mov fk_ref(round,0), p1; \
386 mov fk_ref(round,1), p2; \
387 mov fk_ref(round,2), p3; \
388 mov fk_ref(round,3), p4; \
433 mov fk_ref(round,0), p1; \
434 mov fk_ref(round,1), p2; \
[all …]
/illumos-gate/usr/src/tools/smatch/src/smatch_scripts/
H A Dgenerisize.pl13 my $round;
18 $round = 1;
60 if ($round) {
/illumos-gate/usr/src/lib/libm/i386/src/
H A Dround.S32 LIBM_ANSI_PRAGMA_WEAK(round,function)
38 ENTRY(round) function
77 / x = n+0.5, recompute round(x) as x+sign(x)*0.5
93 SET_SIZE(round)
/illumos-gate/usr/src/uts/sparc/fpu/
H A Dpack.c65 round( in round() function
127 round(pfpsd, pu); in packint32()
168 round(pfpsd, pu); in packint64()
224 round(pfpsd, pu); in packsingle()
246 round(pfpsd, pu); in packsingle()
302 round(pfpsd, pu); in packdouble()
327 round(pfpsd, pu); in packdouble()
395 round(pfpsd, pu); in packextended()
420 round(pfpsd, pu); /* rounding overflow handled in round() */ in packextended()
542 round(pfpsd, pu); in _fp_pack()
/illumos-gate/usr/src/lib/libsqlite/test/
H A Dfunc.test152 # Test the abs() and round() functions.
180 catchsql {SELECT round(a,b,c) FROM t1}
181 } {1 {wrong number of arguments to function round()}}
183 catchsql {SELECT round(b,2) FROM t1 ORDER BY b}
186 catchsql {SELECT round(b,0) FROM t1 ORDER BY a}
189 catchsql {SELECT round(c) FROM t1 ORDER BY a}
192 catchsql {SELECT round(c,a) FROM t1 ORDER BY a}
198 catchsql {SELECT round() FROM t1 ORDER BY a}
199 } {1 {wrong number of arguments to function round()}}
201 execsql {SELECT coalesce(round(a,2),'nil') FROM t2}
[all …]
/illumos-gate/usr/src/lib/crypt_modules/sunmd5/
H A Dsunmd5.c249 int round; in crypt_genhash_impl() local
326 for (round = 0; round < maxrounds; round++) { in crypt_genhash_impl()
348 data.shift_a = md5bit(data.digest, round); in crypt_genhash_impl()
349 data.shift_b = md5bit(data.digest, round + 64); in crypt_genhash_impl()
426 (void) snprintf(data.roundascii, ROUND_BUFFER_LEN, "%d", round); in crypt_genhash_impl()
/illumos-gate/usr/src/lib/libc/sparcv9/fp/
H A D_Qp_qtox.c35 long i, round; in _Qp_qtox() local
87 round = i & ((1l << (0x403d - (xm >> 16))) - 1); in _Qp_qtox()
91 if (round | (x->l.frac3 & 0x3ffff) | x->l.frac4) { in _Qp_qtox()
H A D__quad_mag64.S65 ! unsigned int ex, ey, round, rm;
85 ! round = sticky = 0;
93 ! round = frac >> 63;
100 ! round = (frac >> (e - 1)) & 1;
113 ! sticky |= round;
114 ! round = frac & 1;
131 ! if (round | sticky) {
207 mov 0,%l6 ! l6 = round
273 orcc %o7,%l6,%g0 ! see if we need to round
577 tst %o7 ! complement guard, round, and
[all …]
H A Dfpsetrnd.S38 set 0xc0000000, %o4 ! mask of round control bits
47 srl %o0, 30, %o0 ! return old round control value
H A D_Qp_qtoux.c36 unsigned long i, round; in _Qp_qtoux() local
139 round = i & ((1l << (0x403d - (xm >> 16))) - 1); in _Qp_qtoux()
143 if (round | (x->l.frac3 & 0x3ffff) | x->l.frac4) { in _Qp_qtoux()
/illumos-gate/usr/src/lib/libc/port/fp/
H A Dpack_float.c98 round(unpacked *pu, int roundword, enum fp_direction_type rd, int *ex) in round() function
181 round(pu, 1, rd, &e); in __pack_single()
194 round(pu, 1, rd, &e); in __pack_single()
248 round(pu, 2, rd, &e); in __pack_double()
264 round(pu, 2, rd, &e); in __pack_double()
318 round(pu, 2, rd, &e); in __pack_extended()
334 round(pu, 2, rd, &e); in __pack_extended()
395 round(pu, 4, rd, &e); in __pack_quadruple()
415 round(pu, 4, rd, &e); in __pack_quadruple()
/illumos-gate/usr/src/cmd/sh/
H A Dstak.c45 size = round(asize, BYTESPERWORD);
76 incr = (unsigned)round(newtop - brkend + 1, BYTESPERWORD);
99 stakbot = staktop = (unsigned char *)round(argp, BYTESPERWORD); in endstak()
/illumos-gate/usr/src/lib/libm/common/m9x/
H A Dround.c30 #pragma weak __round = round
35 round(double x) { in round() function
/illumos-gate/usr/src/cmd/priocntl/
H A Dsubr.c570 _hrtnewres(htp, new_res, round) in _hrtnewres() argument
573 long round;
641 if (round == HRT_RND) {
661 } else if (round == HRT_RNDUP) {
703 if (round == HRT_RND) {
706 } else if (round == HRT_RNDUP) {

12345