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

1 2 3 4 5 6 7 8 91011>>

  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue40/
DogFoodBean.java 21 BigDecimal decimal; field in class:DogFoodBean
24 decimal = BigDecimal.ZERO;
28 return decimal;
31 public void setDecimal(BigDecimal decimal) {
32 this.decimal = decimal;
  /prebuilts/go/darwin-x86/src/math/big/
decimal_test.go 14 x decimal
18 {decimal{nil, 1000}, "0"}, // exponent of 0 is ignored
19 {decimal{[]byte("12345"), 0}, "0.12345"},
20 {decimal{[]byte("12345"), -3}, "0.00012345"},
21 {decimal{[]byte("12345"), +3}, "123.45"},
22 {decimal{[]byte("12345"), +10}, "1234500000"},
48 var d decimal
90 var d decimal
116 var d decimal
decimal.go 5 // This file implements multi-precision decimal numbers.
6 // The implementation is for float to decimal conversion only;
9 // decimal and rounding.
12 // strconv/decimal.go: conversion of binary fractional values can be done
13 // precisely in multi-precision decimal because 2 divides 10 (required for
14 // >> of mantissa); but conversion of decimal floating-point values cannot
17 // In contrast to strconv/decimal.go, only right shift is implemented in
18 // decimal format - left shift can be done precisely in binary format.
22 // A decimal represents an unsigned floating-point number in decimal representation
27 type decimal struct { type
    [all...]
  /prebuilts/go/linux-x86/src/math/big/
decimal_test.go 14 x decimal
18 {decimal{nil, 1000}, "0"}, // exponent of 0 is ignored
19 {decimal{[]byte("12345"), 0}, "0.12345"},
20 {decimal{[]byte("12345"), -3}, "0.00012345"},
21 {decimal{[]byte("12345"), +3}, "123.45"},
22 {decimal{[]byte("12345"), +10}, "1234500000"},
48 var d decimal
90 var d decimal
116 var d decimal
decimal.go 5 // This file implements multi-precision decimal numbers.
6 // The implementation is for float to decimal conversion only;
9 // decimal and rounding.
12 // strconv/decimal.go: conversion of binary fractional values can be done
13 // precisely in multi-precision decimal because 2 divides 10 (required for
14 // >> of mantissa); but conversion of decimal floating-point values cannot
17 // In contrast to strconv/decimal.go, only right shift is implemented in
18 // decimal format - left shift can be done precisely in binary format.
22 // A decimal represents an unsigned floating-point number in decimal representation
27 type decimal struct { type
    [all...]
  /prebuilts/go/darwin-x86/src/strconv/
internal_test.go 9 func NewDecimal(i uint64) *decimal {
10 d := new(decimal)
decimal.go 5 // Multiprecision decimal numbers.
8 // Can do binary floating point in multiprecision decimal precisely
9 // because 2 divides 10; cannot do decimal floating point
14 type decimal struct { type
17 dp int // decimal point
22 func (a *decimal) String() string {
38 // zeros fill space between decimal point and digits
47 // decimal point in middle of digits
54 // zeros fill space between digits and decimal point
69 // (They are meaningless; the decimal point is tracke
    [all...]
  /prebuilts/go/linux-x86/src/strconv/
internal_test.go 9 func NewDecimal(i uint64) *decimal {
10 d := new(decimal)
decimal.go 5 // Multiprecision decimal numbers.
8 // Can do binary floating point in multiprecision decimal precisely
9 // because 2 divides 10; cannot do decimal floating point
14 type decimal struct { type
17 dp int // decimal point
22 func (a *decimal) String() string {
38 // zeros fill space between decimal point and digits
47 // decimal point in middle of digits
54 // zeros fill space between digits and decimal point
69 // (They are meaningless; the decimal point is tracke
    [all...]
  /toolchain/binutils/binutils-2.25/gas/testsuite/gas/hppa/basic/
dcor.s 4 ; decimal correction instruction tests.
dcor2.s 4 ; PA2.0 decimal correction instruction tests.
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/json/tests/
test_decode.py 1 import decimal
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'))
  /frameworks/base/core/java/android/text/method/
DigitsKeyListener.java 66 private static final int DECIMAL = 2;
106 * or minus sign (only at the beginning) and/or the ASCII period ('.') as the decimal point
112 public DigitsKeyListener(boolean sign, boolean decimal) {
113 this(null, sign, decimal);
123 final int kind = (mSign ? SIGN : 0) | (mDecimal ? DECIMAL : 0);
129 final int kind = (mSign ? SIGN : 0) | (mDecimal ? DECIMAL : 0);
155 public DigitsKeyListener(@Nullable Locale locale, boolean sign, boolean decimal) {
157 mDecimal = decimal;
170 if (sign || decimal) {
193 if (decimal) {
354 int decimal = -1; local
    [all...]
  /external/freetype/src/psaux/
psconv.c 38 /* digits (both decimal and non-decimal) into numbers. */
200 FT_Long decimal = 0; local
235 /* read the decimal part */
254 if ( divider < 0xCCCCCCCL && decimal < 0xCCCCCCCL )
256 decimal = decimal * 10 + c;
291 if ( !integral && !decimal )
305 if ( decimal >= 0xCCCCCCCL )
312 decimal *= 10
    [all...]
  /external/pdfium/third_party/freetype/src/psaux/
psconv.c 38 /* digits (both decimal and non-decimal) into numbers. */
200 FT_Long decimal = 0; local
235 /* read the decimal part */
254 if ( divider < 0xCCCCCCCL && decimal < 0xCCCCCCCL )
256 decimal = decimal * 10 + c;
291 if ( !integral && !decimal )
305 if ( decimal >= 0xCCCCCCCL )
312 decimal *= 10
    [all...]
  /external/mesa3d/src/gallium/auxiliary/util/
u_format_r11g11b10f.h 119 float scale, decimal; local
127 decimal = 1.0f + (float) mantissa / 64;
128 f32.f = scale * decimal;
205 float scale, decimal; local
213 decimal = 1.0f + (float) mantissa / 32;
214 f32.f = scale * decimal;
  /system/update_engine/scripts/update_payload/
format_utils_unittest.py 53 self.assertEqual(format_utils.BytesToHumanReadable(5000, decimal=True),
55 self.assertEqual(format_utils.BytesToHumanReadable(5000000, decimal=True),
58 decimal=True),
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/json/tests/
test_decode.py 1 import decimal
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/icu/icu4c/source/i18n/
decfmtst.h 12 * parsing of decimal and group separators.
43 static const UnicodeSet *getSimilarDecimals(UChar32 decimal, UBool strictParse);
  /prebuilts/go/darwin-x86/src/os/
str.go 9 // Convert integer to decimal string
17 // Convert unsigned integer to decimal string
  /prebuilts/go/linux-x86/src/os/
str.go 9 // Convert integer to decimal string
17 // Convert unsigned integer to decimal string
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/tests/
test_decode.py 1 import decimal
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
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/go/darwin-x86/src/unicode/
digit.go 7 // IsDigit reports whether the rune is a decimal digit.
  /prebuilts/go/linux-x86/src/unicode/
digit.go 7 // IsDigit reports whether the rune is a decimal digit.

Completed in 855 milliseconds

1 2 3 4 5 6 7 8 91011>>