OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:bignum
(Results
1 - 2
of
2
) 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))));
/libcore/luni/src/main/java/java/math/
BigInt.java
27
transient int
bignum
= 0;
field in class:BigInt
30
if (this.
bignum
!= 0) {
31
NativeBN.BN_free(this.
bignum
);
32
this.
bignum
= 0;
50
return this.
bignum
;
86
if (this.
bignum
== 0) {
87
this.
bignum
= NativeBN.BN_new();
88
Check(this.
bignum
!= 0);
94
bi.
bignum
= NativeBN.BN_new();
95
Check(bi.
bignum
!= 0)
[
all
...]
Completed in 237 milliseconds