/src/lib/libm/noieee_src/ |
n_round.c | 38 __weak_alias(roundl, round); 42 round(double x) function in typeref:typename:double
|
/src/sys/arch/m68k/fpsp/ |
fpsp.h | 185 WBTEMP_GRS equ LV-40 ;alias wbtemp guard, round, sticky variable in typeref:typename:alias wbtemp 187 round_bit equ 0 ;round bit is bit number 0 315 x_mode equ $00 round to extended 316 s_mode equ $40 round to single 317 d_mode equ $80 round to double 319 rn_mode equ $00 round nearest 320 rz_mode equ $10 round to zero 321 rm_mode equ $20 round to minus infinity 322 rp_mode equ $30 round to plus infinity 331 rnd_stky_bit equ 29 round/sticky bit of mantiss [all...] |
/src/sys/external/bsd/compiler_rt/dist/lib/builtins/ |
floatsisf.c | 11 // compiler-rt library in the IEEE-754 default round-to-nearest, ties-to-even 48 rep_t round = (rep_t)a << (typeWidth - shift); local in function:__floatsisf 49 if (round > signBit) result++; 50 if (round == signBit) result += result & 1;
|
floatunsisf.c | 11 // compiler-rt library in the IEEE-754 default round-to-nearest, ties-to-even 40 rep_t round = (rep_t)a << (typeWidth - shift); local in function:__floatunsisf 41 if (round > signBit) result++; 42 if (round == signBit) result += result & 1;
|
divsf3.c | 152 // code to round them correctly. 157 const bool round = (residual << 1) > bSignificand; local in function:__divsf3 162 // Round 163 absResult += round;
|
divdf3.c | 167 // code to round them correctly. 172 const bool round = (residual << 1) > bSignificand; local in function:__divdf3 177 // Round 178 absResult += round;
|
divtf3.c | 186 // code to round them correctly. 190 const bool round = (residual << 1) >= bSignificand; local in function:__divtf3 195 // Round 196 absResult += round;
|
/src/sys/arch/sparc/fpu/ |
fpu_implode.c | 66 static int round(struct fpemu *, struct fpn *); 70 * Round a number (algorithm from Motorola MC68882 manual, modified for 74 * After rounding, we discard the guard and round bits by shifting right 82 round(struct fpemu *fe, struct fpn *fp) function in typeref:typename:int 105 /* Go to rounddown to round down; break to round up. */ 111 * Round only if guard is set (gr & 2). If guard is set, 112 * but round & sticky both clear, then we want to round 113 * but have a tie, so round to even, i.e., add 1 iff odd [all...] |
/src/sys/arch/powerpc/fpu/ |
fpu_implode.c | 63 static int round(struct fpemu *, struct fpn *, int *); 73 * Round a number (algorithm from Motorola MC68882 manual, modified for 77 * After rounding, we discard the guard and round bits by shifting right 85 round(struct fpemu *fe, struct fpn *fp, int *cx) function in typeref:typename:int 109 /* Go to rounddown to round down; break to round up. */ 115 * Round only if guard is set (gr & 2). If guard is set, 116 * but round & sticky both clear, then we want to round 117 * but have a tie, so round to even, i.e., add 1 iff odd [all...] |
/src/tests/lib/libc/gen/ |
t_sleep.c | 267 int64_t delta1, delta2, delta3, round; local in function:sleeptest 273 round = 1; 276 round = 1000000000; 277 delta3 = round; 279 fprintf(stderr, "round=%"PRId64" delta3=%"PRId64"\n", round, delta3); 334 delta3 /= round; 335 delta3 *= round; 352 delta3 /= round; 353 delta3 *= round; [all...] |
/src/sbin/restore/ |
interactive.c | 60 #define round(a, b) (((a) + (b) - 1) / (b) * (b)) macro
|
/src/include/ |
tgmath.h | 182 #define round(a) __TG_FN1(round, (a)) macro
|