Searched refs:big (Results 1 – 9 of 9) sorted by relevance
34 BigDecimal big = new BigDecimal(123E04); in test_ConstructorD() local37 big.toString().equals("1230000")); in test_ConstructorD()38 big = new BigDecimal(123.375); in test_ConstructorD()39 assertTrue("init(D) failed for 123.375; became " + big, in test_ConstructorD()40 big.toString().equals("123.375") ); in test_ConstructorD()41 big = new BigDecimal(Math.pow(2, -33)); in test_ConstructorD()42 assertTrue("init(D) failed for 2^(-33) = 1.16415321826934814453125E-10; became " + big, in test_ConstructorD()43 big.toString().equals("1.16415321826934814453125E-10") ); in test_ConstructorD()44 big = new BigDecimal(123456 * Math.pow(2, -33)); in test_ConstructorD()45 … assertTrue("init(D) failed for 123456 * 2^(-33) = 0.000014372169971466064453125; became " + big, in test_ConstructorD()[all …]
720 BigDecimal big = new BigDecimal(value); in test_Constructor_java_math_BigInteger_int() local722 big.unscaledValue().equals(value) in test_Constructor_java_math_BigInteger_int()723 && big.scale() == 0); in test_Constructor_java_math_BigInteger_int()738 BigDecimal big = new BigDecimal(123E04); in test_Constructor_Double() local739 assertTrue("the BigDecimal value taking a double argument is not initialized properly", big in test_Constructor_Double()741 big = new BigDecimal(1.2345E-12); in test_Constructor_Double()743 big.doubleValue() == 1.2345E-12); in test_Constructor_Double()744 big = new BigDecimal(-12345E-3); in test_Constructor_Double()746 big.doubleValue() == -12.345); in test_Constructor_Double()747 big = new BigDecimal(5.1234567897654321e138); in test_Constructor_Double()[all …]
39 BigDecimal big = new BigDecimal(value); in test_ConstructorLjava_math_BigInteger() local40 assertTrue("the BigDecimal value is not initialized properly", big in test_ConstructorLjava_math_BigInteger()42 && big.scale() == 0); in test_ConstructorLjava_math_BigInteger()49 BigDecimal big = new BigDecimal(value2, 5); in test_ConstructorLjava_math_BigIntegerI() local50 assertTrue("the BigDecimal value is not initialized properly", big in test_ConstructorLjava_math_BigIntegerI()52 && big.scale() == 5); in test_ConstructorLjava_math_BigIntegerI()53 assertTrue("the BigDecimal value is not represented properly", big in test_ConstructorLjava_math_BigIntegerI()61 BigDecimal big = new BigDecimal(123E04); in test_ConstructorD() local64 big.toString().equals("1230000")); in test_ConstructorD()65 big = new BigDecimal(1.2345E-12); in test_ConstructorD()[all …]
190 private static BitSet big() { in big() method in BitSetTest203 BitSet result = big(); in test_differentSizes()207 result.and(big()); in test_differentSizes()210 result = big(); in test_differentSizes()214 result.andNot(big()); in test_differentSizes()217 assertFalse(big().intersects(small())); in test_differentSizes()218 assertFalse(small().intersects(big())); in test_differentSizes()220 result = big(); in test_differentSizes()224 result.or(big()); in test_differentSizes()227 result = big(); in test_differentSizes()[all …]
63 java.math.BigInteger big; in test_formatLjava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition() local65 big = new java.math.BigInteger(String.valueOf(Long.MAX_VALUE)) in test_formatLjava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition()67 out = format.format(big, new StringBuffer(), pos); in test_formatLjava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition()72 big = new java.math.BigInteger(String.valueOf(Long.MIN_VALUE)) in test_formatLjava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition()74 out = format.format(big, new StringBuffer(), pos); in test_formatLjava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition()
584 java.math.BigInteger big; in test_formatObject() local586 big = new java.math.BigInteger(String.valueOf(Long.MAX_VALUE)) in test_formatObject()588 out = format.format(big, new StringBuffer(), pos); in test_formatObject()593 big = new java.math.BigInteger(String.valueOf(Long.MIN_VALUE)) in test_formatObject()595 out = format.format(big, new StringBuffer(), pos); in test_formatObject()
2665 BigInteger big = new BigInteger("100"); in test_formatLjava_lang_String$Ljava_lang_Object_BigIntegerExceptionOrder() local2690 f.format("%+ .4o", big); in test_formatLjava_lang_String$Ljava_lang_Object_BigIntegerExceptionOrder()2697 f.format("%+ -o", big); in test_formatLjava_lang_String$Ljava_lang_Object_BigIntegerExceptionOrder()2704 f.format("%-O", big); in test_formatLjava_lang_String$Ljava_lang_Object_BigIntegerExceptionOrder()
60 description: "UTF-16 and UTF-32 encoders don't write big-endian output on little-endian devices",
META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...