HomeSort by: relevance | last modified time | path
    Searched refs:round (Results 1 - 25 of 71) sorted by relevancy

1 2 3

  /src/lib/libm/softfloat/
fesetround.c 45 fesetround(int round)
48 fpsetround(__FPR(round));
  /src/lib/libm/noieee_src/
n_round.c 38 __weak_alias(roundl, round);
42 round(double x) function in typeref:typename:double
  /src/lib/libm/src/
s_round.c 38 __strong_alias(_roundl, round)
39 __weak_alias(roundl, round)
43 round(double x)
s_llround.c 9 #define roundit round
s_lround.c 41 #define roundit round
  /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/lib/libm/arch/m68k/
s_ceil.S 48 fmovel #0x30,%fpcr | round to +inf
s_floor.S 49 fmovel #0x20,%fpcr | round to -inf
  /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/lib/libm/arch/riscv/
fenv.c 175 * by its argument round. If the argument is not equal to the value of a
179 fesetround(int round)
181 if ((unsigned int)round > FCSR_FRM_RMM) {
186 fcsr_frm_write(round);
  /src/lib/libc/arch/mips/gen/
modf.S 54 or t1, t0, 0x3 # set rounding mode to round to zero
64 add.d $f4,$f2,$f4 # round off to integer
  /src/lib/libm/arch/hppa/
fenv.c 231 * its argument `round'. If the argument is not equal to the value of a rounding
235 fesetround(int round)
239 _DIAGASSERT((round & ~FE_ROUND_MASK) == 0);
240 if (round & ~FE_ROUND_MASK)
245 r |= round;
  /src/lib/libm/arch/sparc/
fenv.c 210 * its argument `round'. If the argument is not equal to the value of a rounding
214 fesetround(int round)
218 _DIAGASSERT((round & ~_ROUND_MASK) == 0);
219 if (round & ~_ROUND_MASK)
224 r |= round << _ROUND_SHIFT;
  /src/lib/libm/arch/sparc64/
fenv.c 224 * its argument `round'. If the argument is not equal to the value of a rounding
228 fesetround(int round)
232 _DIAGASSERT((round & ~_ROUND_MASK) == 0);
233 if (round & ~_ROUND_MASK)
238 r |= round << _ROUND_SHIFT;
  /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/tests/lib/libm/
t_round.c 66 b = round(a);
74 c = round(-a);
  /src/lib/libm/arch/arm/
fenv.c 188 * by its argument round. If the argument is not equal to the value of a
192 fesetround(int round)
195 _DIAGASSERT(!(round & ~__SHIFTOUT(VFP_FPSCR_RMODE, VFP_FPSCR_RMODE)));
198 fpscr |= __SHIFTIN(round, VFP_FPSCR_RMODE);
  /src/lib/libm/arch/aarch64/
fenv.c 161 * by its argument round. If the argument is not equal to the value of a
165 fesetround(int round)
168 _DIAGASSERT(!(round & ~__SHIFTOUT(FPCR_RMODE, FPCR_RMODE)));
171 fpcr |= __SHIFTIN(round, FPCR_RMODE);
  /src/common/lib/libc/arch/or1k/gen/
mulsi3.S 69 l.bnf .Lloop # no, another round of long multiplication.
  /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/sys/arch/m68k/fpsp/
l_fpsp.h 247 x_mode equ $00 round to extended
248 s_mode equ $40 round to single
249 d_mode equ $80 round to double
251 rn_mode equ $00 round nearest
252 rz_mode equ $10 round to zero
253 rm_mode equ $20 round to minus infinity
254 rp_mode equ $30 round to plus infinity
263 rnd_stky_bit equ 29 round/sticky bit of mantissa

Completed in 113 milliseconds

1 2 3