/external/icu/android_icu4j/src/main/java/android/icu/text/ |
ScientificNumberFormatter.java | 170 } else if (attributeSet.containsKey(NumberFormat.Field.EXPONENT)) { 171 int limit = iterator.getRunLimit(NumberFormat.Field.EXPONENT); 241 } else if (attributeSet.containsKey(NumberFormat.Field.EXPONENT)) { 242 int start = iterator.getRunStart(NumberFormat.Field.EXPONENT); 243 int limit = iterator.getRunLimit(NumberFormat.Field.EXPONENT);
|
NumberFormat.java | 497 * '1,234E5' fails, but '1234E5' and '1,234E' pass ('E' is not an exponent when [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
ScientificNumberFormatter.java | 181 } else if (attributeSet.containsKey(NumberFormat.Field.EXPONENT)) { 182 int limit = iterator.getRunLimit(NumberFormat.Field.EXPONENT); 252 } else if (attributeSet.containsKey(NumberFormat.Field.EXPONENT)) { 253 int start = iterator.getRunStart(NumberFormat.Field.EXPONENT); 254 int limit = iterator.getRunLimit(NumberFormat.Field.EXPONENT);
|
NumberFormat.java | 528 * '1,234E5' fails, but '1234E5' and '1,234E' pass ('E' is not an exponent when [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
Support_DecimalFormat.java | 53 t_FormatWithField(6, format, number, text, NumberFormat.Field.EXPONENT, 0, 0); 67 t_FormatWithField(16, format, number, text, NumberFormat.Field.EXPONENT, 13, 14); 90 t_FormatWithField(28, format, number, text, NumberFormat.Field.EXPONENT, 0, 0); 118 // test exponential pattern with positive exponent 122 // test exponential pattern with negative exponent 217 v.add(new FieldContainer(8, 9, NumberFormat.Field.EXPONENT)); 227 v.add(new FieldContainer(6, 7, NumberFormat.Field.EXPONENT));
|
Support_SimpleDateFormat.java | 122 t_FormatWithField(39, format, date, null, NumberFormat.Field.EXPONENT, 0, 0);
|
/libcore/support/src/test/java/tests/support/ |
Support_DecimalFormat.java | 61 t_FormatWithField(6, format, number, text, NumberFormat.Field.EXPONENT, 86 NumberFormat.Field.EXPONENT, 13, 14); 120 NumberFormat.Field.EXPONENT, 0, 0); 167 // test exponential pattern with positive exponent 171 // test exponential pattern with negative exponent 257 v.add(new FieldContainer(8, 9, NumberFormat.Field.EXPONENT)); 267 v.add(new FieldContainer(6, 7, NumberFormat.Field.EXPONENT));
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
reduce_precision_test.cc | 49 // positive and negative variants. (Note: IEEE-f16 is 5 exponent bits and 10 52 // Vectors of exponent and mantissa sizes to test. We want to test IEEE-f32 (a 53 // no-op), IEEE-f16, and exponent-reduction-only and mantissa-reduction-only 68 #define FPVAL(EXPONENT, HIGH_MANTISSA, LOW_MANTISSA) \ 69 ((0b##EXPONENT << 23) + (0b##HIGH_MANTISSA << 13) + (0b##LOW_MANTISSA)) 82 // Largest exponent that underflows to zero. 97 // up and incrementing the exponent out of the denormal range. 171 // even when exponent bits aren't reduced.
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/ |
NumberFormat.java | 486 // * '1,234E5' fails, but '1234E5' and '1,234E' pass ('E' is not an exponent when [all...] |
DecimalFormat.java | 183 * <td>Separates mantissa and exponent in scientific notation. 187 * <td>Exponent 273 * subpattern := prefix? number exponent? suffix? 280 * exponent := 'E' '+'? '0'* '0' 300 * sigDigits element is not followed by the exponent element. 383 * or through the pattern. In a pattern, the exponent character immediately followed by 389 * <li>The number of digit characters after the exponent character gives the minimum 390 * exponent digit count. There is no maximum. Negative exponents are formatted using the 393 * sign, specify '+' between the exponent and the digits: "0.###E+0" will produce formats 397 * <li>The minimum number of integer digits is achieved by adjusting the exponent [all...] |
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
DecimalFormatICU.java | 429 } else if (icuAttribute == NumberFormat.Field.EXPONENT) { 430 jdkAttribute = java.text.NumberFormat.Field.EXPONENT;
|
/external/icu/android_icu4j/src/main/java/android/icu/number/ |
ScientificNotation.java | 44 * Sets the minimum number of digits to show in the exponent of scientific notation, padding with zeros if 52 * The minimum number of digits to show in the exponent. 77 * The strategy for displaying the sign in the exponent. 110 // During formatting, we need to provide an object with state (the exponent) as the inner modifier. 117 // the state (the exponent) into that ScientificModifier. There is no difference between safe and unsafe. 125 /* unsafe */ int exponent; field in class:ScientificNotation.ScientificHandler 150 int exponent; local 155 exponent = 0; 158 exponent = 0; 161 exponent = -micros.rounding.chooseMultiplierAndApply(quantity, this) 245 final int exponent; field in class:ScientificNotation.ScientificModifier [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/ |
ScientificNotation.java | 43 * Sets the minimum number of digits to show in the exponent of scientific notation, padding with zeros if 51 * The minimum number of digits to show in the exponent. 77 * The strategy for displaying the sign in the exponent. 111 // During formatting, we need to provide an object with state (the exponent) as the inner modifier. 118 // the state (the exponent) into that ScientificModifier. There is no difference between safe and unsafe. 126 /* unsafe */ int exponent; field in class:ScientificNotation.ScientificHandler 151 int exponent; local 156 exponent = 0; 159 exponent = 0; 162 exponent = -micros.rounding.chooseMultiplierAndApply(quantity, this) 246 final int exponent; field in class:ScientificNotation.ScientificModifier [all...] |
/libcore/ojluni/src/main/java/java/text/ |
ChoiceFormat.java | 542 static final long EXPONENT = 0x7FF0000000000000L; 552 significand |= (SIGN | EXPONENT); 554 long exponent = bits & EXPONENT; 562 bits = exponent | (significand & ~EXPONENT); 568 static final long EXPONENT = 0x7FF0000000000000L;
|
DecimalFormat.java | 107 * <i>Integer</i> <i>Exponent<sub>opt</sub></i> 108 * <i>Integer</i> . <i>Fraction</i> <i>Exponent<sub>opt</sub></i> 124 * <i>Exponent:</i> 212 * <td>Separates mantissa and exponent in scientific notation. 256 * that creates a scientific notation format. In a pattern, the exponent 262 * <li>The number of digit characters after the exponent character gives the 263 * minimum exponent digit count. There is no maximum. Negative exponents are 272 * and greater than 1, it forces the exponent to be a multiple of the maximum 275 * <em>engineering notation</em>, in which the exponent is a multiple of three, 281 * exponent. Example: 0.00123 formatted with <code>"00.###E0"</code> yield [all...] |
NumberFormat.java | [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
IntlTestDecimalFormatAPIC.java | 326 // test exponential pattern with positive exponent 330 // test exponential pattern with negative exponent 420 v.add(new FieldContainer(8, 9, NumberFormat.Field.EXPONENT)); 430 v.add(new FieldContainer(6, 7, NumberFormat.Field.EXPONENT));
|
NumberFormatTest.java | [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
IntlTestDecimalFormatAPIC.java | 323 // test exponential pattern with positive exponent 327 // test exponential pattern with negative exponent 417 v.add(new FieldContainer(8, 9, NumberFormat.Field.EXPONENT)); 427 v.add(new FieldContainer(6, 7, NumberFormat.Field.EXPONENT));
|
NumberFormatTest.java | [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
NumberStringBuilder.java | 333 fieldToDebugChar.put(NumberFormat.Field.EXPONENT, 'e');
|
Parse.java | 59 * whitespace is allowed to occur arbitrarily before and after prefixes and exponent 190 EXPONENT 196 * details about the exponent and negative signs, etc. 212 int exponent; field in class:Parse.StateItem 268 exponent = 0; 329 exponent = other.exponent; 373 if (type == DigitType.EXPONENT) { 375 int newExponent = exponent * 10 + digit; 376 if (newExponent < exponent) { [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
NumberStringBuilder.java | 331 fieldToDebugChar.put(NumberFormat.Field.EXPONENT, 'e');
|
Parse.java | 57 * whitespace is allowed to occur arbitrarily before and after prefixes and exponent 188 EXPONENT 194 * details about the exponent and negative signs, etc. 210 int exponent; field in class:Parse.StateItem 266 exponent = 0; 327 exponent = other.exponent; 371 if (type == DigitType.EXPONENT) { 373 int newExponent = exponent * 10 + digit; 374 if (newExponent < exponent) { [all...] |
/external/annotation-tools/asmx/test/lib/ |
javancss.jar | |