Home
last modified time | relevance | path

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

12345

/titanic_44/usr/src/lib/libc/sparc/fp/
H A D__quad_mag.c49 unsigned int round, sticky, carry, rm; in __quad_mag_add() local
69 round = sticky = 0; in __quad_mag_add()
81 round = frac2 & 0x80000000; in __quad_mag_add()
87 round = frac3 & 0x80000000; in __quad_mag_add()
94 round = frac4 & 0x80000000; in __quad_mag_add()
102 sticky |= round | (frac4 & ((1 << (e - 1)) - 1)); in __quad_mag_add()
103 round = frac4 & (1 << (e - 1)); in __quad_mag_add()
133 sticky |= round; in __quad_mag_add()
134 round = frac4 & 1; in __quad_mag_add()
153 if (round | sticky) { in __quad_mag_add()
[all …]
H A D_Q_qtod.c42 unsigned int xm, round, sticky, fsr, rm; in _Q_qtod() local
126 round = x->l.frac3 & 0x10000000; in _Q_qtod()
130 sticky |= round | (u.l.lo & 0x7fffffff); in _Q_qtod()
131 round = u.l.lo & 0x80000000; in _Q_qtod()
137 sticky |= round | (u.l.lo & ((1 << (e - 1)) - 1)); in _Q_qtod()
138 round = u.l.lo & (1 << (e - 1)); in _Q_qtod()
146 round = x->l.frac3 & 0x8000000; in _Q_qtod()
152 if (round | sticky) { in _Q_qtod()
158 if (rm == FSR_RP || (rm == FSR_RN && round && (sticky || in _Q_qtod()
H A D_Q_qtos.c45 unsigned int xm, round, sticky, fsr, rm; in _Q_qtos() local
122 round = u.l & (1 << e); in _Q_qtos()
129 round = x->l.frac2 & 0x1000000; in _Q_qtos()
135 if (round | sticky) { in _Q_qtos()
141 if (rm == FSR_RP || (rm == FSR_RN && round && (sticky || in _Q_qtos()
H A D_Q_qtoi.c42 int i, round; in _Q_qtoi() local
90 round = i & ((1 << (0x401d - (xm >> 16))) - 1); in _Q_qtoi()
94 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
/titanic_44/usr/src/lib/libast/common/vmalloc/
H A Dvmmopen.c73 size_t round; /* amount to round to */ member
85 static int mmvminit(char* file, Void_t* addr, size_t round, Mmvm_t* mm) in mmvminit() argument
87 static int mmvminit(file, addr, round, mm) in mmvminit()
90 size_t round; /* amount to round requests */
124 size = round;
141 hdr->round = round;
184 ((nsize % disc->round) < (disc->round/2) ? disc->round/2 : 0);
185 csize = ROUND(csize, disc->round);
245 Vmalloc_t* vmmopen(char* file, Void_t* base, size_t round) in vmmopen() argument
247 Vmalloc_t* vmmopen(file, base, round) in vmmopen()
[all …]
/titanic_44/usr/src/lib/libmvec/common/
H A D__vexp.c348 #define round C[0].d macro
364 y##N = (x##N * invln2_256) + round; \
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()
455 y3 = (x3 * invln2_256) + round; in __vexp()
456 y4 = (x4 * invln2_256) + round; in __vexp()
457 y5 = (x5 * invln2_256) + round; in __vexp()
466 y0 -= round; in __vexp()
[all …]
/titanic_44/usr/src/data/zoneinfo/
H A Dantarctica7 # To keep things manageable, we list only locations occupied year-round; see
18 # Argentina - year-round bases
35 # year-round bases
101 # Belgium - year-round base
104 # Brazil - year-round base
107 # Bulgaria - year-round base
110 # Chile - year-round bases and towns
119 # China - year-round bases
123 # France - year-round bases (also see "France & Italy")
132 # French Southern Territories with year-round inhabitants
[all …]
/titanic_44/usr/src/lib/libbc/libc/gen/common/
H A Ddouble_decim.c43 char round, unsigned sticky) in decimal_round() argument
47 if ((round == '0') && (sticky == 0)) { /* Exact. */ in decimal_round()
54 if (round < '5') in decimal_round()
56 if (round > '5') in decimal_round()
345 char round = '0'; in _unpacked_to_decimal() local
449 round = is[ids++]; in _unpacked_to_decimal()
451 round = '0'; in _unpacked_to_decimal()
463 round = '0'; in _unpacked_to_decimal()
467 round = fs[0]; in _unpacked_to_decimal()
508 round = '0'; in _unpacked_to_decimal()
[all …]
H A D_Qfpack.c60 round(pu) in round() function
122 round(pu);
172 round(pu);
185 round(pu);
236 round(pu);
252 round(pu);
310 round(pu);
325 round(pu); /* rounding overflow handled in round() */
408 round(pu);
H A Dpack_float.c100 round(pu, roundword) in round() function
183 round(pu, 1);
196 round(pu, 1);
249 round(pu, 2);
265 round(pu, 2);
335 round(pu, 2);
343 round(pu, 2);
404 round(pu, 4);
424 round(pu, 4);
/titanic_44/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
/titanic_44/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 …]
/titanic_44/usr/src/cmd/dispadmin/
H A Dsubr.c101 _hrtnewres(hrtimer_t *htp, ulong_t new_res, long round) in _hrtnewres() argument
170 if (round == HRT_RND) { in _hrtnewres()
190 } else if (round == HRT_RNDUP) { in _hrtnewres()
232 if (round == HRT_RND) { in _hrtnewres()
235 } else if (round == HRT_RNDUP) { in _hrtnewres()
/titanic_44/usr/src/common/crypto/aes/amd64/
H A Daes_amd64.s330 #define ff_rnd(p1, p2, p3, p4, round) /* normal forward round */ \ argument
331 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; \
383 #define fl_rnd(p1, p2, p3, p4, round) /* last forward round */ \ argument
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; \
[all …]
/titanic_44/usr/src/lib/libm/i386/src/
H A Dround.s32 LIBM_ANSI_PRAGMA_WEAK(round,function)
38 ENTRY(round)
77 / x = n+0.5, recompute round(x) as x+sign(x)*0.5
93 SET_SIZE(round)
/titanic_44/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()
/titanic_44/usr/src/lib/libsqlite/test/
H A Dfunc.test154 # Test the abs() and round() functions.
182 catchsql {SELECT round(a,b,c) FROM t1}
183 } {1 {wrong number of arguments to function round()}}
185 catchsql {SELECT round(b,2) FROM t1 ORDER BY b}
188 catchsql {SELECT round(b,0) FROM t1 ORDER BY a}
191 catchsql {SELECT round(c) FROM t1 ORDER BY a}
194 catchsql {SELECT round(c,a) FROM t1 ORDER BY a}
197 catchsql {SELECT 'x' || round(c,a) || 'y' FROM t1 ORDER BY a}
200 catchsql {SELECT round() FROM t1 ORDER BY a}
201 } {1 {wrong number of arguments to function round()}}
[all …]
/titanic_44/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()
/titanic_44/usr/src/lib/libc/sparcv9/fp/
H A D_Qp_qtox.c37 long i, round; in _Qp_qtox() local
89 round = i & ((1l << (0x403d - (xm >> 16))) - 1); in _Qp_qtox()
93 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;
99 ! sticky |= round | (frac & ((1ul << (e - 1)) - 1));
100 ! round = (frac >> (e - 1)) & 1;
113 ! sticky |= round;
114 ! round = frac & 1;
131 ! if (round | sticky) {
135 ! if (rm == FSR_RP || (rm == FSR_RN && round &&
207 mov 0,%l6 ! l6 = round
[all …]
H A Dfpsetrnd.s38 set 0xc0000000, %o4 ! mask of round control bits
47 srl %o0, 30, %o0 ! return old round control value
/titanic_44/usr/src/cmd/sh/
H A Dstak.c46 size = round(asize, BYTESPERWORD);
77 incr = (unsigned)round(newtop - brkend + 1, BYTESPERWORD);
100 stakbot = staktop = (unsigned char *)round(argp, BYTESPERWORD); in endstak()
/titanic_44/usr/src/lib/libc/port/fp/
H A Dpack_float.c100 round(unpacked *pu, int roundword, enum fp_direction_type rd, int *ex) in round() function
183 round(pu, 1, rd, &e); in __pack_single()
196 round(pu, 1, rd, &e); in __pack_single()
250 round(pu, 2, rd, &e); in __pack_double()
266 round(pu, 2, rd, &e); in __pack_double()
320 round(pu, 2, rd, &e); in __pack_extended()
336 round(pu, 2, rd, &e); in __pack_extended()
397 round(pu, 4, rd, &e); in __pack_quadruple()
417 round(pu, 4, rd, &e); in __pack_quadruple()
/titanic_44/usr/src/lib/libm/common/m9x/
H A Dround.c30 #pragma weak __round = round
35 round(double x) { in round() function

12345