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

/macosx-10.10/Libc-1044.1.2/gdtoa/FreeBSD/
H A Dgdtoa_fltrnds.h18 fpi1.rounding = Rounding;
H A D_ldtoa.c60 FLT_ROUNDS, /* rounding */
79 * if the number is negative, we need to swap rounding modes of
83 fpi.rounding ^= (fpi.rounding >> 1) & u.bits.sign;
H A Dgdtoa-gethex.c163 switch(fpi->rounding) {
180 switch(fpi->rounding) {
211 * and replace with either '1' or '0' to ensure proper rounding.
326 switch (fpi->rounding) {
369 switch(fpi->rounding) {
H A Dgdtoa.h91 int rounding; member in struct:FPI
95 enum { /* FPI.rounding values: same as FLT_ROUNDS */
H A Dgdtoa-strtodg.c214 fpi->rounding ==
553 switch(fpi->rounding & 3) {
1029 switch(fpi->rounding & 3) {
H A Dgdtoa-gdtoa.c89 * when rounding the final digit up. This is often faster.
315 if ( (rdir = fpi->rounding - 1) !=0) {
H A Dgdtoa-strtod.c157 fpi1.rounding = Rounding;
942 /* Compute dval(&adj) so that the IEEE rounding rules will
/macosx-10.10/gnutar-453/gnutar/lib/
H A Dhuman.c177 int rounding; local
209 rounding = 0;
221 rounding = r2 < divisor ? 0 < r2 : 2 + (divisor < r2);
292 unsigned int r2 = (r10 % base) * 2 + (rounding >> 1);
295 rounding = (r2 < base
296 ? (r2 + rounding) != 0
297 : 2 + (base < r2 + rounding));
305 ? 2 < rounding + (tenths & 1)
306 : inexact_style == human_ceiling && 0 < rounding)
309 rounding
[all...]
/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/modules/math/
H A Dmachineparameters.tcl94 # The rounding mode used on the machine.
95 # The rounding occurs when more than t digits would be required to
99 # "proper" means that another rounding mode is used, be it "round to nearest",
101 variable rounding ""
199 # Compute the rounding mode.
205 # Now determine whether rounding or chopping occurs, by adding a
210 set rounding "proper"
212 set rounding "chop"
216 if {$rounding=="proper" && $C==$firstnoninteger} then {
217 set rounding "cho
[all...]
/macosx-10.10/ICU-531.30/icuSources/i18n/
H A DdecContext.h37 /* round -- must be one of the enumerated rounding modes */
75 enum rounding { enum
92 enum rounding round; /* rounding mode */
253 U_INTERNAL enum rounding U_EXPORT2 uprv_decContextGetRounding(decContext *);
257 U_INTERNAL decContext * U_EXPORT2 uprv_decContextSetRounding(decContext *, enum rounding);
H A DdecContext.c121 /* decContextGetRounding -- return current rounding mode */
124 /* returns the rounding mode */
128 U_CAPI enum rounding U_EXPORT2 uprv_decContextGetRounding(decContext *context) {
178 /* decContextSetRounding -- set current rounding mode */
187 enum rounding newround) {
H A Ddigitlst.cpp22 * 08/02/98 stephen Added nearest/even rounding
254 enum rounding r;
500 // Force to an integer, with zero exponent, rounding if necessary.
851 * TODO: probably should expand some, for rounding increments that
H A Ddecimfmt.cpp571 // If it was a currency format, apply the appropriate rounding by
1124 // through a DigitList, was successful, and the formatter is doing nothing tricky with rounding.
1682 // Apply rounding after multiplier
1711 // have to change when rounding. For now, we preserve the sign by setting the
3843 * Get the rounding increment.
3844 * @return A positive rounding increment, or 0.0 if rounding
3859 * Set the rounding increment. This method also controls whether
3860 * rounding is enabled.
3861 * @param newValue A positive rounding incremen
[all...]
/macosx-10.10/WebCore-7600.1.25/page/
H A DGestureTapHighlighter.cpp117 // The rounding check depends on the rects not intersecting eachother,
125 const int rounding = 4; local
128 copy.inflateX(rounding);
129 copy.inflateY(rounding / 2);
131 FloatSize rounded(rounding * 1.8, rounding * 1.8);
/macosx-10.10/IOPCIFamily-239.1.2/
H A Dvtd.c255 uint32_t rounding; member in struct:vtd_unit_t
311 unit->rounding = (0x3f & (unit->regs->capability >> 48));
1221 if (unit->selective && ((unit->rounding > fMaxRoundSize)))
1222 fMaxRoundSize = unit->rounding;
1541 unit_invalidate(unit, kTheDomain, unitAddr[idx], unit->rounding, leaf);
1543 || (unitPages[idx] <= (1U << unit->rounding)))
1550 unitPages[idx] -= (1U << unit->rounding);
1551 unitAddr[idx] += (1U << unit->rounding);
1633 uint32_t mask = unit->rounding;
1634 if (unitPages < (1U << unit->rounding)) mas
[all...]
/macosx-10.10/CPANInternal-159.1/Time-HiRes-Value-0.07/lib/Time/HiRes/
H A DValue.pm31 manipulating such time values, as rounding errors creep in to calculations
35 rounding errors result.
100 seconds and microseconds. This method avoids rounding errors introduced by
/macosx-10.10/ruby-106/ruby/
H A Dutil.c529 * necessary to specify double-precision (53-bit) rounding precision
544 * biased rounding (add half and chop).
586 * #define ROUND_BIASED for IEEE-format with biased rounding.
874 #define Rounding rounding
1961 int rounding; local
2301 if ((rounding = Flt_Rounds) >= 2) {
2303 rounding = rounding == 2 ? 0 : 2;
2305 if (rounding != 2)
2306 rounding
[all...]
/macosx-10.10/ICU-531.30/icuSources/test/intltest/
H A Dnumrgts.cpp882 * Number format data rounding errors for locale FR
960 * Data rounding errors for French (Canada) locale
1032 * Data rounding errors for German (Germany) locale
1100 * Data rounding errors for Italian locale number formats
1165 * Test rounding for nearest even.
1717 // Get the currency (if there is one) so we can set the rounding and fraction
1720 double rounding = ucurr_getRoundingIncrement(currency, &status); local
1723 fmt2->setRoundingIncrement(rounding);
1728 failure(status, "Fetching currency rounding/fractions");
2249 * DecimalFormat is incorrectly rounding number
[all...]
/macosx-10.10/tcl-105/tk/tk/library/
H A Dmkpsenc.tcl1211 % careful about negative numbers, since the rounding works
/macosx-10.10/tcl-105/tk84/tk/library/
H A Dmkpsenc.tcl1211 % careful about negative numbers, since the rounding works

Completed in 190 milliseconds