HomeSort by relevance Sort by last modified time
    Searched full:decimal (Results 1 - 25 of 2089) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/third_party/WebKit/Source/core/html/forms/
StepRange.h 24 #include "platform/Decimal.h"
65 Decimal defaultValue() const
73 StepRange(const Decimal& stepBase, const Decimal& minimum, const Decimal& maximum, const Decimal& step, const StepDescription&);
74 Decimal alignValueForStep(const Decimal& currentValue, const Decimal& newValue) const;
75 Decimal clampValue(const Decimal& value) const
    [all...]
StepRange.cpp 53 StepRange::StepRange(const Decimal& stepBase, const Decimal& minimum, const Decimal& maximum, const Decimal& step, const StepDescription& stepDescription)
67 Decimal StepRange::acceptableError() const
70 DEFINE_STATIC_LOCAL(const Decimal, twoPowerOfFloatMantissaBits, (Decimal::Positive, 0, UINT64_C(1) << FLT_MANT_DIG));
71 return m_stepDescription.stepValueShouldBe == StepValueShouldBeReal ? m_step / twoPowerOfFloatMantissaBits : Decimal(0);
74 Decimal StepRange::alignValueForStep(const Decimal& currentValue, const Decimal& newValue) cons
    [all...]
RangeInputType.cpp 72 static Decimal ensureMaximum(const Decimal& proposedValue, const Decimal& minimum, const Decimal& fallbackValue)
105 setValueAsDecimal(Decimal::fromDouble(newValue), eventBehavior, exceptionState);
122 const Decimal stepBase = findStepBase(rangeDefaultStepBase);
123 const Decimal minimum = parseToNumber(element().fastGetAttribute(minAttr), rangeDefaultMinimum);
124 const Decimal maximum = ensureMaximum(parseToNumber(element().fastGetAttribute(maxAttr), rangeDefaultMaximum), minimum, rangeDefaultMaximum);
126 const Decimal step = StepRange::parseStep(anyStepHandling, stepDescription, element().fastGetAttribute(stepAttr));
182 const Decimal current = parseToNumberOrNaN(element().value())
    [all...]
InputType.h 100 virtual void setValueAsDecimal(const Decimal&, TextFieldEventBehavior, ExceptionState&) const;
119 virtual Decimal defaultValueForStepUp() const;
123 virtual bool getAllowedValueStep(Decimal*) const;
128 virtual String rangeOverflowText(const Decimal& maximum) const;
129 virtual String rangeUnderflowText(const Decimal& minimum) const;
175 virtual Decimal findClosestTickMarkValue(const Decimal&);
181 // the Decimal value for the parsing result if the parsing
184 virtual Decimal parseToNumber(const String&, const Decimal& defaultValue) const
    [all...]
NumberInputType.h 51 virtual void setValueAsDecimal(const Decimal&, TextFieldEventBehavior, ExceptionState&) const OVERRIDE;
58 virtual Decimal parseToNumber(const String&, const Decimal&) const OVERRIDE;
59 virtual String serialize(const Decimal&) const OVERRIDE;
66 virtual String rangeOverflowText(const Decimal& maxmum) const OVERRIDE;
67 virtual String rangeUnderflowText(const Decimal& minimum) const OVERRIDE;
RangeInputType.h 61 virtual Decimal parseToNumber(const String&, const Decimal&) const OVERRIDE;
62 virtual String serialize(const Decimal&) const OVERRIDE;
74 virtual Decimal findClosestTickMarkValue(const Decimal&) OVERRIDE;
77 Vector<Decimal> m_tickMarkValues;
BaseDateAndTimeInputType.cpp 62 const Decimal value = parseToNumber(element().value(), Decimal::nan());
68 setValueAsDecimal(Decimal::fromDouble(newValue), eventBehavior, exceptionState);
81 String BaseDateAndTimeInputType::rangeOverflowText(const Decimal& maximum) const
86 String BaseDateAndTimeInputType::rangeUnderflowText(const Decimal& minimum) const
91 Decimal BaseDateAndTimeInputType::defaultValueForStepUp() const
93 return Decimal::fromDouble(convertToLocalTime(currentTimeMS()));
101 Decimal BaseDateAndTimeInputType::parseToNumber(const String& source, const Decimal& defaultValue) const
108 return Decimal::fromDouble(msec)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/
DecimalTest.cpp 32 #include "platform/Decimal.h"
41 std::ostream& operator<<(std::ostream& os, const Decimal& decimal)
43 Decimal::EncodedData data = decimal.value();
47 << ", " << (data.sign() == Decimal::Negative ? "Negative" : "Positive")
48 << ")=" << decimal.toString().ascii().data();
58 Decimal maximum;
59 Decimal minimum;
60 Decimal step
    [all...]
Decimal.h 45 // This class represents decimal base floating point number.
47 // FIXME: Once all C++ compiler support decimal type, we should replace this
48 // class to compiler supported one. See below URI for current status of decimal
50 class PLATFORM_EXPORT Decimal {
61 friend class Decimal;
97 Decimal(int32_t = 0);
98 Decimal(Sign, int exponent, uint64_t coefficient);
99 Decimal(const Decimal&);
101 Decimal& operator=(const Decimal&)
    [all...]
Decimal.cpp 32 #include "platform/Decimal.h"
51 // This class handles Decimal special values.
63 SpecialValueHandler(const Decimal& lhs, const Decimal& rhs);
65 Decimal value() const;
74 const Decimal& m_lhs;
75 const Decimal& m_rhs;
79 SpecialValueHandler::SpecialValueHandler(const Decimal& lhs, const Decimal& rhs)
89 const Decimal::EncodedData::FormatClass lhsClass = m_lhs.value().formatClass()
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_decimal.py 11 These are the test cases for the Decimal module.
14 the Decimal arithmetic using the tests provided by Mike Cowlishaw. The latter
19 www2.hursley.ibm.com/decimal/dectest.zip
32 from decimal import *
90 # Decimal behaves differently from decNumber for these testcases so these
148 # Name adapter to be able to change the Decimal and Context
189 # The following functions return True/False rather than a Decimal instance
206 """Class which tests the Decimal class against the test cases.
338 v = Decimal(v, self.context)
412 # The following classes test the behaviour of Decimal according to PEP 32
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_decimal.py 11 These are the test cases for the Decimal module.
14 the Decimal arithmetic using the tests provided by Mike Cowlishaw. The latter
19 www2.hursley.ibm.com/decimal/dectest.zip
32 from decimal import *
90 # Decimal behaves differently from decNumber for these testcases so these
148 # Name adapter to be able to change the Decimal and Context
189 # The following functions return True/False rather than a Decimal instance
206 """Class which tests the Decimal class against the test cases.
338 v = Decimal(v, self.context)
412 # The following classes test the behaviour of Decimal according to PEP 32
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
decimal.py 21 This is a Py2.3 implementation of decimal floating point arithmetic based on
22 the General Decimal Arithmetic Specification:
24 http://speleotrove.com/decimal/decarith.html
30 Decimal floating point has finite precision with arbitrarily large bounds.
38 of the expected Decimal('0.00') returned by decimal floating point).
40 Here are some examples of using the decimal module:
42 >>> from decimal import *
44 >>> Decimal(0)
45 Decimal('0'
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
decimal.py 21 This is a Py2.3 implementation of decimal floating point arithmetic based on
22 the General Decimal Arithmetic Specification:
24 http://speleotrove.com/decimal/decarith.html
30 Decimal floating point has finite precision with arbitrarily large bounds.
38 of the expected Decimal('0.00') returned by decimal floating point).
40 Here are some examples of using the decimal module:
42 >>> from decimal import *
44 >>> Decimal(0)
45 Decimal('0'
    [all...]
  /external/llvm/test/YAMLParser/
construct-int.data 4 decimal: +685_230
spec-02-19.data 4 decimal: +12,345
  /cts/apps/CtsVerifier/res/xml/
camera_fov_calibration_preferences.xml 10 android:numeric="decimal"
16 android:numeric="decimal"
  /external/chromium_org/third_party/WebKit/Source/wtf/dtoa/
README 3 This project (double-conversion) provides binary-decimal and decimal-binary
  /frameworks/base/core/java/android/text/method/
DigitsKeyListener.java 39 private static final int DECIMAL = 2;
77 * plus the minus sign (only at the beginning) and/or decimal point
80 public DigitsKeyListener(boolean sign, boolean decimal) {
82 mDecimal = decimal;
84 int kind = (sign ? SIGN : 0) | (decimal ? DECIMAL : 0);
97 * plus the minus sign (only at the beginning) and/or decimal point
100 public static DigitsKeyListener getInstance(boolean sign, boolean decimal) {
101 int kind = (sign ? SIGN : 0) | (decimal ? DECIMAL : 0)
153 int decimal = -1; local
    [all...]
  /external/apache-xml/src/main/java/org/apache/xalan/templates/
DecimalFormatProperties.java 28 * Implement xsl:decimal-format.
30 * <!ELEMENT xsl:decimal-format EMPTY>
31 * <!ATTLIST xsl:decimal-format
33 * decimal-separator %char; "."
73 * Return the decimal format Symbols for this element.
74 * <p>The xsl:decimal-format element declares a decimal-format,
77 * the element declares a named decimal-format; otherwise, it
78 * declares the default decimal-format. The value of the name
80 * It is an error to declare either the default decimal-format or
    [all...]
  /external/valgrind/main/tests/
check_dfp_cap 3 # We use this script to check whether or not the processor supports Decimal Floating Point (DFP).
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/tests/
test_decode.py 1 import decimal namespace
9 rval = self.loads('1.1', parse_float=decimal.Decimal)
10 self.assertTrue(isinstance(rval, decimal.Decimal))
11 self.assertEqual(rval, decimal.Decimal('1.1'))
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/tests/
test_decode.py 1 import decimal namespace
9 rval = self.loads('1.1', parse_float=decimal.Decimal)
10 self.assertTrue(isinstance(rval, decimal.Decimal))
11 self.assertEqual(rval, decimal.Decimal('1.1'))
  /external/chromium_org/third_party/icu/source/i18n/
decfmtst.h 10 * parsing of decimal and group separators.
39 static const UnicodeSet *getSimilarDecimals(UChar32 decimal, UBool strictParse);
  /external/icu/icu4c/source/i18n/
decfmtst.h 10 * parsing of decimal and group separators.
39 static const UnicodeSet *getSimilarDecimals(UChar32 decimal, UBool strictParse);

Completed in 3248 milliseconds

1 2 3 4 5 6 7 8 91011>>