Searched refs:rounding (Results 1 - 20 of 20) sorted by relevance

/freebsd-10.2-release/contrib/gcclibs/libdecnumber/
H A DdecRound.c42 extern enum rounding __decGetRound (void);
45 static enum rounding __dfp_rounding_mode = DEC_ROUND_HALF_EVEN;
47 /* Set the decNumber rounding mode from the FE_DEC_* value in MODE. */
70 /* Return the decNumber rounding mode as an FE_DEC_* value. */
96 /* Return the decNumber version of the current rounding mode. */
98 enum rounding
H A DdecContext.h38 /* round -- must be one of the enumerated rounding modes */
60 enum rounding enum
77 enum rounding round; /* rounding mode */
/freebsd-10.2-release/contrib/gdtoa/
H A Dstrtord.c73 strtord_l(s, sp, rounding, d, locale) CONST char *s; char **sp; int rounding;
76 strtord_l(CONST char *s, char **sp, int rounding, double *d, locale_t locale)
86 if (rounding != FPI_Round_near) {
88 fpi1.rounding = rounding;
H A Dstrtorf.c69 strtorf(s, sp, rounding, f) CONST char *s; char **sp; int rounding; float *f;
71 strtorf(CONST char *s, char **sp, int rounding, float *f)
81 if (rounding != FPI_Round_near) {
83 fpi1.rounding = rounding;
H A DstrtorxL.c88 strtorxL(s, sp, rounding, L) CONST char *s; char **sp; int rounding; void *L;
90 strtorxL(CONST char *s, char **sp, int rounding, void *L)
100 if (rounding != FPI_Round_near) {
102 fpi1.rounding = rounding;
H A Dgdtoa_fltrnds.h17 fpi1.rounding = Rounding;
H A DstrtorQ.c106 strtorQ_l(s, sp, rounding, L, locale) CONST char *s; char **sp; int rounding;
109 strtorQ_l(CONST char *s, char **sp, int rounding, void *L, locale_t locale)
119 if (rounding != FPI_Round_near) {
121 fpi1.rounding = rounding;
H A Dstrtorx.c109 strtorx_l(s, sp, rounding, L, locale) CONST char *s; char **sp; int rounding;
112 strtorx_l(CONST char *s, char **sp, int rounding, void *L, locale_t locale)
122 if (rounding != FPI_Round_near) {
124 fpi1.rounding = rounding;
H A Dstrtordd.c175 strtordd(s, sp, rounding, dd) CONST char *s; char **sp; int rounding; double *dd;
177 strtordd(CONST char *s, char **sp, int rounding, double *dd)
191 if (rounding != FPI_Round_near) {
193 fpi1.rounding = rounding;
H A Dgethex.c157 switch(fpi->rounding) {
174 switch(fpi->rounding) {
269 switch (fpi->rounding) {
312 switch(fpi->rounding) {
H A Dgdtoa.h91 int rounding; member in struct:FPI
95 enum { /* FPI.rounding values: same as FLT_ROUNDS */
H A Dg_ddfmt.c163 fpi.rounding = Rounding;
H A Dstrtodg.c198 fpi->rounding ==
532 switch(fpi->rounding & 3) {
1004 switch(fpi->rounding & 3) {
H A Dgdtoa.c89 * when rounding the final digit up. This is often faster.
318 if ( (rdir = fpi->rounding - 1) !=0) {
H A Dstrtod.c180 fpi1.rounding = Rounding;
991 /* Compute dval(&adj) so that the IEEE rounding rules will
/freebsd-10.2-release/lib/libc/gdtoa/
H A D_ldtoa.c53 FLT_ROUNDS, /* rounding */
70 * if the number is negative, we need to swap rounding modes of
74 fpi.rounding ^= (fpi.rounding >> 1) & u.bits.sign;
/freebsd-10.2-release/sys/mips/mips/
H A Dfp.S668 and v0, a1, MIPS_FPU_ROUNDING_BITS # get rounding mode
727 and v0, a1, MIPS_FPU_ROUNDING_BITS # get rounding mode
791 and v0, a1, MIPS_FPU_ROUNDING_BITS # get rounding mode
885 and v0, a1, MIPS_FPU_ROUNDING_BITS # get rounding mode
1507 and v0, a1, MIPS_FPU_ROUNDING_BITS # get rounding mode
1517 addu t2, t2, 1 # add rounding bit
1521 li v0, GUARDBIT # load guard bit for rounding
1730 and v0, a1, MIPS_FPU_ROUNDING_BITS # get rounding mode
1740 addu t2, t2, 1 # add rounding bit
1746 li v0, GUARDBIT # load guard bit for rounding
[all...]
/freebsd-10.2-release/contrib/gcc/config/
H A Ddfp-bit.h117 /* Define CONTEXT_ROUND to obtain the current decNumber rounding mode. */
118 extern enum rounding __decGetRound (void);
/freebsd-10.2-release/contrib/gcc/config/arm/
H A Dieee754-df.S38 * Only the default rounding mode is intended for best performances.
119 @ already in xh-xl. We need up to 54 bit to handle proper rounding
213 @ No rounding necessary since ip will always be 0 at this point.
646 @ The LSBs in ip are only significant for the final rounding.
741 @ from xh to xl. Leftover bits are in r3-r6-lr for rounding.
970 @ in lr for rounding considerations.
1310 orrne xl, xl, #1 @ fold r3 for rounding considerations.
H A Dieee754-sf.S36 * Only the default rounding mode is intended for best performances.
91 @ already in r0. We need up to 25 bit to handle proper rounding
162 @ No rounding necessary since r1 will always be 0 at this point.

Completed in 121 milliseconds