HomeSort by relevance Sort by last modified time
    Searched defs:bignum (Results 1 - 3 of 3) sorted by null

  /external/v8/test/mjsunit/
toint32.js 117 // bignum is (2^53 - 1) * 2^31 - highest number with bit 31 set.
118 var bignum = Math.pow(2, 84) - Math.pow(2, 31); variable
119 assertEquals(-Math.pow(2,31), toInt32(bignum));
120 assertEquals(-Math.pow(2,31), toInt32(-bignum));
121 assertEquals(0, toInt32(2 * bignum));
122 assertEquals(0, toInt32(-(2 * bignum)));
123 assertEquals(0, toInt32(bignum - Math.pow(2,31)));
124 assertEquals(0, toInt32(-(bignum - Math.pow(2,31))));
  /dalvik/libcore/math/src/main/java/java/math/
BigInt.java 58 transient int bignum = 0; field in class:BigInt
62 if (this.bignum != 0) {
63 NativeBN.BN_free(this.bignum);
64 this.bignum = 0;
79 return this.bignum;
117 if (this.bignum == 0) {
118 this.bignum = NativeBN.BN_new();
119 Check(this.bignum != 0);
125 bi.bignum = NativeBN.BN_new();
126 Check(bi.bignum != 0)
    [all...]
  /dalvik/libcore/x-net/src/main/native/
org_apache_harmony_xnet_provider_jsse_NativeCrypto.cpp 83 * Converts a Java byte[] to an OpenSSL BIGNUM, allocating the BIGNUM on the
86 static BIGNUM* arrayToBignum(JNIEnv* env, jbyteArray source) {
91 BIGNUM* bignum = BN_bin2bn((unsigned char*) sourceBytes, sourceLength, NULL); local
93 return bignum;
115 jniThrowRuntimeException(env, "Unable to convert BigInteger to BIGNUM");
153 jniThrowRuntimeException(env, "Unable to convert BigInteger to BIGNUM");
    [all...]

Completed in 826 milliseconds