Searched refs:round (Results 1 - 25 of 86) sorted by relevance

1234

/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/lib/libc/sparc/fp/
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...]
H A D_Q_get_rp_rd.s35 srl %o0,30,%o0 ! return round control value
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 Dfpgetrnd.s40 srl %o0, 30, %o0 ! return round control value
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 Dfpsetrnd.s38 set 0xc0000000, %o4 ! mask of round control bits
47 srl %o0, 30, %o0 ! return old round control value
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 */
/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/lib/libc/sparcv9/fp/
H A D_Q_get_rp_rd.s35 srl %o0,30,%o0 ! return round control value
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) {
H A Dfpgetrnd.s40 srl %o0, 30, %o0 ! return round control value
H A Dfpsetrnd.s38 set 0xc0000000, %o4 ! mask of round control bits
47 srl %o0, 30, %o0 ! return old round control value
/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/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/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);
/illumos-gate/usr/src/lib/libc/i386/gen/
H A Dalloca.s34 andl $0xfffffffc,%eax / round up to multiple of 4
/illumos-gate/usr/src/cmd/lvm/metassist/common/
H A Dvolume_string.h165 uint64_t bytes, char **str, units_t units[], boolean_t round);
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Ddouble_decim.c37 * for inexact or overflow in *ps. round is the round digit and sticky is 0
43 char round, unsigned sticky)
47 if ((round == '0') && (sticky == 0)) { /* Exact. */
54 if (round < '5')
56 if (round > '5')
60 /* Now in ambiguous case; round up if lsd is odd. */
345 char round = '0'; local
449 round = is[ids++];
451 round
42 decimal_round(decimal_mode *pm, decimal_record *pd, fp_exception_field_type *ps, char round, unsigned sticky) argument
[all...]
H A D_Qfpack.c60 round(pu) function
66 int increment; /* boolean to indicate round up */
105 pu->significand[3] &= 0xfffffffe; /* force round to even */
122 round(pu);
172 round(pu);
185 round(pu);
236 round(pu);
252 round(pu);
310 round(pu);
325 round(p
[all...]
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dstreval.c58 #define round(x,size) (((x)+(size)-1)&~((size)-1)) macro
59 #define stakpush(v,val,type) ((((v)->offset=round(staktell(),pow2size(sizeof(type)))),\
62 #define roundptr(ep,cp,type) (((unsigned char*)(ep))+round(cp-((unsigned char*)(ep)),pow2size(sizeof(type))))
/illumos-gate/usr/src/tools/env/
H A Dillumos.sh81 max_jobs_per_memory=round(physical_memory/min_mem_per_job) ,
/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/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/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);

Completed in 117 milliseconds

1234