Searched defs:round (Results 1 - 25 of 38) sorted by relevance

12

/illumos-gate/usr/src/lib/libm/i386/src/
H A Dround.s29 .file "round.s"
32 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/lib/libc/sparc/fp/
H A D_Q_qtoi.c42 int i, round; local
90 round = i & ((1 << (0x401d - (xm >> 16))) - 1);
94 if (round | (x->l.frac2 & 0x3ffff) | x->l.frac3 | x->l.frac4) {
H A D_Q_qtou.c43 int i, round; local
143 round = i & ((1 << (0x401d - (xm >> 16))) - 1);
147 if (round | (x->l.frac2 & 0x3ffff) | x->l.frac3 | x->l.frac4) {
H A D_Q_qtod.c42 unsigned int xm, round, sticky, fsr, rm; local
126 round = x->l.frac3 & 0x10000000;
130 sticky |= round | (u.l.lo & 0x7fffffff);
131 round = u.l.lo & 0x80000000;
137 sticky |= round | (u.l.lo & ((1 << (e - 1)) - 1));
138 round = u.l.lo & (1 << (e - 1));
146 round = x->l.frac3 & 0x8000000;
150 /* see if we need to round */
152 if (round | sticky) {
157 /* round u
[all...]
H A D_Q_qtos.c45 unsigned int xm, round, sticky, fsr, rm; local
122 round = u.l & (1 << e);
129 round = x->l.frac2 & 0x1000000;
133 /* see if we need to round */
135 if (round | sticky) {
140 /* round up if necessary */
141 if (rm == FSR_RP || (rm == FSR_RN && round && (sticky ||
143 /* round up and check for overflow */
H A D__quad_mag.c49 unsigned int round, sticky, carry, rm; local
69 round = sticky = 0;
81 round = frac2 & 0x80000000;
87 round = frac3 & 0x80000000;
94 round = frac4 & 0x80000000;
102 sticky |= round | (frac4 & ((1 << (e - 1)) - 1));
103 round = frac4 & (1 << (e - 1));
133 sticky |= round;
134 round = frac4 & 1;
152 /* see if we need to round */
209 unsigned int guard, round, sticky, borrow, rm; local
[all...]
/illumos-gate/usr/src/lib/libc/sparcv9/fp/
H A D_Qp_qtoux.c38 unsigned long i, round; local
141 round = i & ((1l << (0x403d - (xm >> 16))) - 1);
145 if (round | (x->l.frac3 & 0x3ffff) | x->l.frac4) {
H A D_Qp_qtox.c37 long i, round; local
89 round = i & ((1l << (0x403d - (xm >> 16))) - 1);
93 if (round | (x->l.frac3 & 0x3ffff) | x->l.frac4) {
/illumos-gate/usr/src/lib/libm/common/m9x/
H A Dround.c30 #pragma weak __round = round
35 round(double x) { function
52 /* round x at the integer bit */
/illumos-gate/usr/src/cmd/lgrpinfo/
H A Dlgrpinfo.pl371 sub round subroutine
694 $result = round($number);
/illumos-gate/usr/src/lib/libast/common/sfio/
H A Dsfrd.c137 { reg ssize_t a, round; local
169 if(r > (round = (1 + (n+a)/f->size)*f->size) )
170 r = round;
/illumos-gate/usr/src/lib/libc/port/fp/
H A Dpack_float.c100 round(unpacked *pu, int roundword, enum fp_direction_type rd, int *ex) function
106 int increment; /* boolean to indicate round up */
134 msw = pu->significand[0]; /* save msw before round */
149 pu->significand[roundword - 1] &= ~1; /* force round to even */
183 round(pu, 1, rd, &e);
196 round(pu, 1, rd, &e);
250 round(pu, 2, rd, &e);
266 round(pu, 2, rd, &e);
320 round(pu, 2, rd, &e);
336 round(p
[all...]
H A Ddouble_decim.c180 char s[4], round; local
198 * Determine the power of ten after which to round and the
270 round = pd->ds[--is];
282 /* round */
283 if (round == '0' && sticky == 0)
290 if (round < '5' || (round == '5' && sticky == 0 &&
309 /* round up */
/illumos-gate/usr/src/cmd/dispadmin/
H A Dsubr.c93 * specified by round.
101 _hrtnewres(hrtimer_t *htp, ulong_t new_res, long round) argument
170 if (round == HRT_RND) {
190 } else if (round == HRT_RNDUP) {
201 } else { /* round == HRT_TRUNC */
232 if (round == HRT_RND) {
235 } else if (round == HRT_RNDUP) {
/illumos-gate/usr/src/uts/sparc/fpu/
H A Dpack.c65 round( function
69 int increment; /* boolean to indicate round up */
109 pu->significand[3] &= 0xfffffffe; /* force round to even */
127 round(pfpsd, pu);
168 round(pfpsd, pu);
224 round(pfpsd, pu);
246 round(pfpsd, pu);
302 round(pfpsd, pu);
327 round(pfpsd, pu);
395 round(pfps
[all...]
/illumos-gate/usr/src/lib/libmvec/common/vis/
H A D__vcosf.S62 #define round 0x48 define
145 ! f58 round
175 ldd [%g1+round],%f58
H A D__vsincosf.S62 #define round 0x48 define
146 ! f58 round
181 ldd [%g1+round],%f58
H A D__vsinf.S62 #define round 0x48 define
145 ! f58 round
175 ldd [%g1+round],%f58
H A D__vsin.S74 #define round 0x70 define
1428 ! f42 round
1452 ldd [%l5+round],%f42
/illumos-gate/usr/src/lib/crypt_modules/sunmd5/
H A Dsunmd5.c249 int round; local
326 for (round = 0; round < maxrounds; round++) {
348 data.shift_a = md5bit(data.digest, round);
349 data.shift_b = md5bit(data.digest, round + 64);
426 (void) snprintf(data.roundascii, ROUND_BUFFER_LEN, "%d", round);
/illumos-gate/usr/src/uts/common/os/
H A Dacct.c348 int exp = 0, round = 0; local
352 round = t & 04;
355 if (round) {
/illumos-gate/usr/src/lib/libast/common/vmalloc/
H A Dvmmopen.c73 size_t round; /* amount to round to */ member in struct:_mmvm_s
85 static int mmvminit(char* file, Void_t* addr, size_t round, Mmvm_t* mm) argument
87 static int mmvminit(file, addr, round, mm)
90 size_t round; /* amount to round requests */
124 size = round;
141 hdr->round = round;
184 ((nsize % disc->round) < (dis
245 vmmopen(char* file, Void_t* base, size_t round) argument
[all...]
/illumos-gate/usr/src/head/
H A Dtgmath.h144 #undef round macro
145 #define round(x) __tgmath_round(x) macro
/illumos-gate/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;
453 y1 = (x1 * invln2_256) + round;
454 y2 = (x2 * invln2_256) + round;
455 y3 = (x3 * invln2_256) + round;
456 y4 = (x4 * invln2_256) + round;
457 y5 = (x5 * invln2_256) + round;
466 y0 -= round;
[all...]
/illumos-gate/usr/src/cmd/backup/restore/
H A Dinteractive.c25 #define round(a, b) ((((a) + (b) - 1) / (b)) * (b)) macro

Completed in 124 milliseconds

12