HomeSort by relevance Sort by last modified time
    Searched defs:bignum (Results 1 - 5 of 5) 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))));
  /external/v8/test/cctest/
test-bignum.cc 34 #include "bignum.h"
41 static void AssignHexString(Bignum* bignum, const char* str) {
42 bignum->AssignHexString(Vector<const char>(str, StrLength(str)));
46 static void AssignDecimalString(Bignum* bignum, const char* str) {
47 bignum->AssignDecimalString(Vector<const char>(str, StrLength(str)));
53 Bignum bignum; local
54 Bignum bignum2
122 Bignum bignum; local
160 Bignum bignum; local
259 Bignum bignum; local
349 Bignum bignum; local
449 Bignum bignum; local
550 Bignum bignum; local
651 Bignum bignum; local
981 Bignum bignum; local
1360 Bignum bignum; local
1391 Bignum bignum; local
    [all...]
test-strtod.cc 7 #include "bignum.h"
349 static int CompareBignumToDiyFp(const Bignum& bignum_digits,
352 Bignum bignum; local
353 bignum.AssignBignum(bignum_digits);
354 Bignum other;
357 bignum.MultiplyByPowerOfTen(bignum_exponent);
364 bignum.ShiftLeft(-diy_fp.e());
366 return Bignum::Compare(bignum, other)
    [all...]
  /external/v8/tools/
generate-ten-powers.scm 36 v::bignum
42 ;;----------------bignum shifts -----------------------------------------------
43 (define (bit-lshbx::bignum x::bignum by::bint)
46 (*bx x (exptbx #z2 (fixnum->bignum by)))))
48 (define (bit-rshbx::bignum x::bignum by::bint)
51 (/bx x (exptbx #z2 (fixnum->bignum by)))))
  /libcore/luni/src/main/java/java/math/
BigInt.java 27 transient int bignum = 0; field in class:BigInt
31 if (this.bignum != 0) {
32 NativeBN.BN_free(this.bignum);
33 this.bignum = 0;
46 return this.bignum;
82 if (this.bignum == 0) {
83 this.bignum = NativeBN.BN_new();
84 Check(this.bignum != 0);
90 bi.bignum = NativeBN.BN_new();
91 Check(bi.bignum != 0)
    [all...]

Completed in 548 milliseconds