| /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/ |
| bigfloat.pl | 42 # fround(NSTR, SCALE) return NSTR round to SCALE digits 43 # ffround(NSTR, SCALE) return NSTR round at SCALEth place 145 &norm(&round(&'bdiv($xm.('0' x $scale),$ym),&'babs($ym)), 151 # round int $q based on fraction $r/$base using $rnd_mode 152 sub round { #(int_str, int_str, int_str) return int_str 167 $q; # round down 170 # round up 175 # round the mantissa of $x to $scale digits 185 &norm(&round(substr($xm,$[,$scale+1), 193 # round $x at the 10 to the $scale digit plac 149 sub round { #(int_str, int_str, int_str) return int_str subroutine [all...] |
| /onnv/onnv-gate/usr/src/lib/libc/sparc/fp/ |
| _Q_qtoi.c | 42 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) {
|
| _Q_qtou.c | 43 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) {
|
| _Q_qtod.c | 42 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 up if necessary * [all...] |
| _Q_qtos.c | 45 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 */
|
| __quad_mag.c | 49 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...] |
| /onnv/onnv-gate/usr/src/lib/libc/sparcv9/fp/ |
| _Qp_qtox.c | 37 long i, round; local 89 round = i & ((1l << (0x403d - (xm >> 16))) - 1); 93 if (round | (x->l.frac3 & 0x3ffff) | x->l.frac4) {
|
| _Qp_qtoux.c | 38 unsigned long i, round; local 141 round = i & ((1l << (0x403d - (xm >> 16))) - 1); 145 if (round | (x->l.frac3 & 0x3ffff) | x->l.frac4) {
|
| /onnv/onnv-gate/usr/src/lib/libast/common/sfio/ |
| sfrd.c | 137 { reg ssize_t a, round; local 169 if(r > (round = (1 + (n+a)/f->size)*f->size) ) 170 r = round;
|
| /onnv/onnv-gate/usr/src/cmd/lgrpinfo/ |
| lgrpinfo.pl | 370 # Round values 371 sub round subroutine 694 $result = round($number);
|
| /onnv/onnv-gate/usr/src/lib/libbc/libc/gen/common/ |
| pack_float.c | 100 round(pu, roundword) function 104 * Round according to current rounding mode. pu must be shifted to so that 109 int increment; /* boolean to indicate round up */ 138 msw=pu->significand[0]; /* save msw before round */ 151 pu->significand[roundword - 1] &= ~1; /* force round to even */ 183 round(pu, 1); 196 round(pu, 1); 249 round(pu, 2); 265 round(pu, 2); 335 round(pu, 2) [all...] |
| _Qfpack.c | 60 round(pu) function 63 /* Round according to current rounding mode. */ 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) [all...] |
| double_decim.c | 37 * 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 = '0' [all...] |
| /onnv/onnv-gate/usr/src/lib/libc/port/fp/ |
| pack_float.c | 100 round(unpacked *pu, int roundword, enum fp_direction_type rd, int *ex) function 102 * Round according to current rounding mode. pu must be shifted to so that 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) [all...] |
| double_decim.c | 180 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 */
|
| /onnv/onnv-gate/usr/src/uts/sparc/fpu/ |
| pack.c | 62 * Round according to current rounding mode. 65 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) [all...] |
| /onnv/onnv-gate/usr/src/lib/libast/common/vmalloc/ |
| vmmopen.c | 59 #define MM_START ROUND(sizeof(Mmvm_t),ALIGN) 73 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) 87 static int mmvminit(file, addr, round, mm) 90 size_t round; /* amount to round requests */ 124 size = round; 141 hdr->round = round; [all...] |
| /onnv/onnv-gate/usr/src/uts/common/os/ |
| acct.c | 349 int exp = 0, round = 0; local 353 round = t & 04; 356 if (round) {
|
| /onnv/onnv-gate/usr/src/cmd/backup/restore/ |
| interactive.c | 27 #define round(a, b) ((((a) + (b) - 1) / (b)) * (b)) macro
|
| /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Math/ |
| BigRat.pm | 451 $x->bnorm()->round(@r); 469 $x->badd($y,@r); # does norm and round 522 $x->bnorm()->round(@r); 561 $x->bnorm()->round(@r); 617 $x->bnorm()->round(@r); 649 $x->bnorm()->round(@r); 678 $x->bnorm()->round(@r); 829 return $x->round(@r); 849 return $x->round(@r) if $x->is_one() || $y->is_one(); 853 return $y->is_odd() ? $x->round(@r) : $x->babs()->round(@r) 1078 sub round subroutine [all...] |
| /onnv/onnv-gate/usr/src/uts/common/fs/fd/ |
| fdops.c | 62 #define round(r) (((r)+sizeof (int)-1)&(~(sizeof (int)-1))) macro
|
| /onnv/onnv-gate/usr/src/lib/crypt_modules/sunmd5/ |
| sunmd5.c | 249 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);
|
| /onnv/onnv-gate/usr/src/cmd/ssh/libopenbsd-compat/common/ |
| bsd-snprintf.c | 495 round(long double value) function 550 fracpart = round((pow10 (max)) * (ufvalue - intpart));
|
| /onnv/onnv-gate/usr/src/lib/libast/amd64/include/ast/ |
| vmalloc.h | 59 size_t round; /* rounding requirement */ member in struct:_vmdisc_s
|
| /onnv/onnv-gate/usr/src/lib/libast/common/include/ |
| vmalloc.h | 59 size_t round; /* rounding requirement */ member in struct:_vmdisc_s
|