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

/macosx-10.9.5/Libc-997.90.3/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.9.5/gnutar-452/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.9.5/tcl-102/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.9.5/ICU-511.35/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
258 enum rounding r;
504 // Force to an integer, with zero exponent, rounding if necessary.
855 * TODO: probably should expand some, for rounding increments that
H A Ddecimfmt.cpp.fixed339 // If it was a currency format, apply the appropriate rounding by
661 // If we are to do rounding, we need to move into the BigDecimal
732 // Apply rounding after multiplier
734 if (isNegative) // For rounding in the correct direction
774 * @param mode a BigDecimal rounding mode
2105 * Get the rounding increment.
2106 * @return A positive rounding increment, or 0.0 if rounding
2117 * Set the rounding increment. This method also controls whether
2118 * rounding i
[all...]
H A Ddecimfmt.cpp522 // If it was a currency format, apply the appropriate rounding by
1410 // Apply rounding after multiplier
3464 * Get the rounding increment.
3465 * @return A positive rounding increment, or 0.0 if rounding
3480 * Set the rounding increment. This method also controls whether
3481 * rounding is enabled.
3482 * @param newValue A positive rounding increment, or 0.0 to disable rounding.
3508 * Get the rounding mod
5282 double rounding = 0.0; local
[all...]
/macosx-10.9.5/WebCore-7537.78.1/page/
H A DGestureTapHighlighter.cpp118 // The rounding check depends on the rects not intersecting eachother,
126 const int rounding = 4; local
129 copy.inflateX(rounding);
130 copy.inflateY(rounding / 2);
132 FloatSize rounded(rounding * 1.8, rounding * 1.8);
/macosx-10.9.5/IOPCIFamily-224.92.1/
H A Dvtd.c255 uint32_t rounding; member in struct:vtd_unit_t
311 unit->rounding = (0x3f & (unit->regs->capability >> 48));
1219 if (unit->selective && ((unit->rounding > fMaxRoundSize)))
1220 fMaxRoundSize = unit->rounding;
1539 unit_invalidate(unit, kTheDomain, unitAddr[idx], unit->rounding, leaf);
1541 || (unitPages[idx] <= (1U << unit->rounding)))
1548 unitPages[idx] -= (1U << unit->rounding);
1549 unitAddr[idx] += (1U << unit->rounding);
1631 uint32_t mask = unit->rounding;
1632 if (unitPages < (1U << unit->rounding)) mas
[all...]
/macosx-10.9.5/CPANInternal-140/Time-HiRes-Value/lib/Time/HiRes/
H A DValue.pm30 manipulating such time values, as rounding errors creep in to calculations
34 rounding errors result.
99 seconds and microseconds. This method avoids rounding errors introduced by
/macosx-10.9.5/CPANInternal-140/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.9.5/ruby-104/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.9.5/ICU-511.35/icuSources/test/intltest/
H A Dnumrgts.cpp881 * Number format data rounding errors for locale FR
958 * Data rounding errors for French (Canada) locale
1030 * Data rounding errors for German (Germany) locale
1098 * Data rounding errors for Italian locale number formats
1163 * Test rounding for nearest even.
1715 // Get the currency (if there is one) so we can set the rounding and fraction
1718 double rounding = ucurr_getRoundingIncrement(currency, &status); local
1721 fmt2->setRoundingIncrement(rounding);
1726 failure(status, "Fetching currency rounding/fractions");
2247 * DecimalFormat is incorrectly rounding number
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/jit/
H A DJITPropertyAccess.cpp1659 JIT::JumpList JIT::emitIntTypedArrayPutByVal(Instruction* currentInstruction, PatchableJump& badType, const TypedArrayDescriptor& descriptor, size_t elementSize, TypedArraySignedness signedness, TypedArrayRounding rounding) argument
1693 if (rounding == ClampRounding) {
/macosx-10.9.5/JavaScriptCore-7537.78.1/dfg/
H A DDFGSpeculativeJIT.cpp2595 void SpeculativeJIT::compilePutByValForIntTypedArray(const TypedArrayDescriptor& descriptor, GPRReg base, GPRReg property, Node* node, size_t elementSize, TypedArraySignedness signedness, TypedArrayRounding rounding) argument
2613 if (rounding == ClampRounding) {
2629 if (rounding == ClampRounding) {
2639 if (rounding == ClampRounding) {
/macosx-10.9.5/tcl-102/tk/tk/library/
H A Dmkpsenc.tcl1211 % careful about negative numbers, since the rounding works
/macosx-10.9.5/tcl-102/tk84/tk/library/
H A Dmkpsenc.tcl1211 % careful about negative numbers, since the rounding works

Completed in 191 milliseconds