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

1 2

  /src/lib/libm/arch/m68k/
s_rint.S 44 | delivers integer nearest x in direction of prevailing rounding mode
46 fintd %sp@(4),%fp0 | use prevailing rounding mode
  /src/lib/libc/gdtoa/
strtorf.c 71 strtorf(s, sp, rounding, f) CONST char *s; char **sp; int rounding; float *f;
73 strtorf(CONST char *s, char **sp, int rounding, float *f)
84 if (rounding != FPI_Round_near) {
86 fpi1.rounding = rounding;
strtorQ.c 99 strtorQ(s, sp, rounding, L) CONST char *s; char **sp; int rounding; void *L;
101 strtorQ(CONST char *s, char **sp, int rounding, void *L)
112 if (rounding != FPI_Round_near) {
114 fpi1.rounding = rounding;
strtorx.c 102 strtorx(s, sp, rounding, L) CONST char *s; char **sp; int rounding; void *L;
104 strtorx(CONST char *s, char **sp, int rounding, void *L)
115 if (rounding != FPI_Round_near) {
117 fpi1.rounding = rounding;
strtorxL.c 90 strtorxL(s, sp, rounding, L) CONST char *s; char **sp; int rounding; void *L;
92 strtorxL(CONST char *s, char **sp, int rounding, void *L)
103 if (rounding != FPI_Round_near) {
105 fpi1.rounding = rounding;
gdtoa_fltrnds.h 3 int Rounding;
5 Rounding = Flt_Rounds;
7 Rounding = 1;
9 case FE_TOWARDZERO: Rounding = 0; break;
10 case FE_UPWARD: Rounding = 2; break;
11 case FE_DOWNWARD: Rounding = 3;
15 if (Rounding != 1) {
18 fpi1.rounding = Rounding;
strtord.c 76 strtord(CONST char *s, char **sp, int rounding, double *d, locale_t loc)
86 if (rounding != FPI_Round_near) {
88 fpi1.rounding = rounding;
strtordd.c 177 strtordd(s, sp, rounding, dd) CONST char *s; char **sp; int rounding; double *dd;
179 strtordd(CONST char *s, char **sp, int rounding, double *dd)
194 if (rounding != FPI_Round_near) {
196 fpi1.rounding = rounding;
gethex.c 141 switch(fpi->rounding) {
158 switch(fpi->rounding) {
257 switch (fpi->rounding) {
300 switch(fpi->rounding) {
g_ddfmt.c 50 int Rounding;
52 Rounding = Flt_Rounds;
54 Rounding = 1;
56 case FE_TOWARDZERO: Rounding = 0; break;
57 case FE_UPWARD: Rounding = 2; break;
58 case FE_DOWNWARD: Rounding = 3;
62 #define Rounding FPI_Round_near
178 fpi.rounding = Rounding;
gdtoa.h 100 int rounding; member in struct:FPI
104 enum { /* FPI.rounding values: same as FLT_ROUNDS */
strtodg.c 203 fpi->rounding ==
530 switch(fpi->rounding & 3) {
1054 switch(fpi->rounding & 3) {
gdtoa.c 95 * when rounding the final digit up. This is often faster.
330 if ( (rdir = fpi->rounding - 1) !=0) {
  /src/lib/libc/arch/mips/gen/
modf.S 54 or t1, t0, 0x3 # set rounding mode to round to zero
71 ctc1 t0, $31 # restore old rounding mode
  /src/lib/libc/arch/sparc64/gen/
modf.S 67 * This must be done with rounding set to `towards 0' or `towards -inf'.
75 * 4@[%fp + BIAS - 8] new %fsr with rounding set to `towards 0'
122 * with rounding set towards zero. We leave any enabled
123 * traps enabled, but change the rounding mode. This might
127 set FSR_RD, %l3 ! %l3 = rounding direction mask
132 and %l5, %l3, %l5 ! save original rounding mode
  /src/lib/libc/arch/sparc/gen/
modf.S 67 * This must be done with rounding set to `towards 0' or `towards -inf'.
75 * 4@[%fp - 8] new %fsr with rounding set to `towards 0'
127 * with rounding set towards zero. We leave any enabled
128 * traps enabled, but change the rounding mode. This might
132 set FSR_RD, %l3 ! %l3 = rounding direction mask
137 and %l5, %l3, %l5 ! save original rounding mode
  /src/sbin/disklabel/
interact.c 77 static int rounding = 0; /* sector rounding */ variable in typeref:typename:int
94 { "R", cmd_round, "rounding (c)ylinders (s)ectors" },
449 i = getinput(line, "Rounding [%s]: ", rounding ? "cylinders" :
457 rounding = 1;
461 rounding = 0;
464 printf("Rounding can be (c)ylinders or (s)ectors\n");
792 if (rounding)
  /src/sys/external/bsd/compiler_rt/dist/lib/builtins/
fp_trunc_impl.inc 12 // rounding mode. The constants and types defined following the includes below
82 // rounding and adjusting the exponent.
  /src/sys/arch/mips/mips/
fp.S 906 and v0, a2, MIPS_FCSR_RM # get rounding mode
965 and v0, a2, MIPS_FCSR_RM # get rounding mode
1029 and v0, a2, MIPS_FCSR_RM # get rounding mode
1123 and v0, a2, MIPS_FCSR_RM # get rounding mode
1513 /* rounding -- all mips rounding modes use the same rounding here */
1618 /* rounding -- all mips rounding modes use the same rounding here *
    [all...]
  /src/sys/arch/m68k/fpsp/
l_fpsp.h 131 FPCR_MODE equ USER_FPCR+3 ; FPCR rounding mode control
245 * FPCR rounding modes
fpsp.h 119 FPCR_MODE equ USER_FPCR+3 ; FPCR rounding mode control
313 * FPCR rounding modes
  /src/sys/arch/vax/vax/
emulate.S 897 argub(4,%r2) # (4) rounding factor == %r2
946 cmpl %r2,$9 # set rounding factor to one if nibble shifted
962 clrl %r2 # no more rounding
  /src/sys/arch/m68k/060sp/dist/
pfpsp.s 374 set FPCR_MODE, USER_FPCR+3 # FPCR rounding mode control
5814 # d0 = rounding precision #
6150 # d1(hi) = contains rounding precision: #
6154 # d1(lo) = contains rounding mode: #
6178 # ext_grs() looks at the rounding precision and sets the appropriate
6191 # Use rounding mode as an index into a jump table for these modes.
6333 # rounding precision.
6342 # selected rounding precision. It is called by the round subroutine
6812 # d1 = rounding precision/mode #
6828 # precision and the rounding mode to single.
    [all...]
fpsp.s 374 set FPCR_MODE, USER_FPCR+3 # FPCR rounding mode control
6990 # Notes: This will return X with the appropriate rounding #
7079 # precision and rounding modes. To avoid unnecessary #
7113 # in the user rounding precision and mode. #
8580 #--IF 1+Z > 3/2 OR 1+Z < 1/2, THEN X, WHICH IS ROUNDING 1+Z,
9188 fmov.l %d0,%fpcr # set user's rounding mode/precision
9312 fmov.l %d0,%fpcr # set user's rounding mode/precision
9328 # fp0 = the ROM constant rounded to the user's rounding mode,prec #
9365 # fetch a pointer to the answer table relating to the proper rounding
9391 # fetch a pointer to the answer table relating to the proper rounding
    [all...]
  /src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/rockchip/
rk3399-gru-scarlet.dtsi 37 * rounding up to 1ms for safety.

Completed in 37 milliseconds

1 2