Home
last modified time | relevance | path

Searched refs:big1 (Results 1 – 5 of 5) sorted by relevance

/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/
DZipUtilTest.java133 final BigInteger big1 = BigInteger.valueOf(1); in testBigToLong() local
137 assertEquals(1L, ZipUtil.bigToLong(big1)); in testBigToLong()
141 final BigInteger big4 = big2.add(big1); in testBigToLong()
149 final BigInteger big5 = big3.subtract(big1); in testBigToLong()
168 final BigInteger big1 = ZipUtil.longToBig(l1); in testLongToBig() local
174 assertEquals(1, big1.longValue()); in testLongToBig()
/external/crcalc/src/com/hp/creals/
DCR.java215 static final BigInteger big1 = BigInteger.ONE; field in CR
351 BigInteger adj_k = shift(k, n+1).add(big1); in scale()
401 max_appr.compareTo(big1) <= 0 in msd()
404 if (max_appr.abs().compareTo(big1) <= 0) { in msd()
508 int comp1 = this_appr.compareTo(x_appr.add(big1)); in compareTo()
510 int comp2 = this_appr.compareTo(x_appr.subtract(big1)); in compareTo()
932 if (pi_multiples.and(big1).signum() != 0) { in cos()
1135 if (diff.compareTo(big1) <= 0) { in approximate()
1222 BigInteger dividend = big1.shiftLeft(log_scale_factor); in approximate()
1263 BigInteger scaled_1 = big1.shiftLeft(-calc_precision); in approximate()
[all …]
DUnaryCRFunction.java334 if (difference.compareTo(big1) > 0) { in sloppy_compare()
378 .add(big1); in approximate()
380 .subtract(big1); in approximate()
391 if (f_h.compareTo(arg_appr.subtract(big1)) < 0 in approximate()
392 || f_l.compareTo(arg_appr.add(big1)) > 0) { in approximate()
408 h = rough_appr.add(big1) in approximate()
410 l = rough_appr.subtract(big1) in approximate()
/external/u-boot/lib/rsa/
Drsa-sign.c605 BIGNUM *big1, *big2, *big32, *big2_32; in rsa_get_params() local
612 big1 = BN_new(); in rsa_get_params()
620 if (!big1 || !big2 || !big32 || !r || !r_squared || !tmp || !big2_32 || in rsa_get_params()
630 if (!BN_copy(n, key_n) || !BN_set_word(big1, 1L) || in rsa_get_params()
658 BN_free(big1); in rsa_get_params()
/external/icu/icu4c/source/test/intltest/
Ditrbnf.cpp1089 const char big1[] = "123456789abcdef0";
1095 LLAssert(llong::atoll(big1, 16) == llong(0x12345678, 0x9abcdef0));
1121 …(0x12345678, 0x9abcdef0).lltoa(buf, (uint32_t)sizeof(buf), 16) == 16) && (strcmp(buf, big1) == 0));