Home
last modified time | relevance | path

Searched refs:Bignum (Results 1 – 25 of 27) sorted by relevance

12

/third_party/icu/vendor/double-conversion/upstream/double-conversion/
Dbignum-dtoa.cc57 Bignum* numerator,
58 Bignum* denominator,
59 Bignum* delta_minus,
60 Bignum* delta_plus);
68 Bignum* numerator, Bignum* denominator,
69 Bignum* delta_minus, Bignum* delta_plus);
72 static void GenerateShortestDigits(Bignum* numerator, Bignum* denominator,
73 Bignum* delta_minus, Bignum* delta_plus,
78 Bignum* numerator, Bignum* denominator,
85 Bignum* numerator, Bignum* denominator,
[all …]
Dbignum.h35 class Bignum {
42 Bignum() : used_bigits_(0), exponent_(0) {} in Bignum() function
46 void AssignBignum(const Bignum& other);
54 void AddBignum(const Bignum& other);
56 void SubtractBignum(const Bignum& other);
68 uint16_t DivideModuloIntBignum(const Bignum& other);
76 static int Compare(const Bignum& a, const Bignum& b);
77 static bool Equal(const Bignum& a, const Bignum& b) { in Equal()
80 static bool LessEqual(const Bignum& a, const Bignum& b) { in LessEqual()
83 static bool Less(const Bignum& a, const Bignum& b) { in Less()
[all …]
Dbignum.cc36 Bignum::Chunk& Bignum::RawBigit(const int index) { in RawBigit()
42 const Bignum::Chunk& Bignum::RawBigit(const int index) const { in RawBigit()
55 void Bignum::AssignUInt16(const uint16_t value) { in AssignUInt16()
65 void Bignum::AssignUInt64(uint64_t value) { in AssignUInt64()
75 void Bignum::AssignBignum(const Bignum& other) { in AssignBignum()
97 void Bignum::AssignDecimalString(const Vector<const char> value) { in AssignDecimalString()
132 void Bignum::AssignHexString(Vector<const char> value) { in AssignHexString()
150 RawBigit(used_bigits_++) = static_cast<Bignum::Chunk>(tmp & kBigitMask); in AssignHexString()
156 void Bignum::AddUInt64(const uint64_t operand) { in AddUInt64()
160 Bignum other; in AddUInt64()
[all …]
Dstrtod.cc398 DOUBLE_CONVERSION_ASSERT(((kMaxDecimalPower + 1) * 333 / 100) < Bignum::kMaxSignificantBits); in CompareBufferWithDiyFp()
399 Bignum buffer_bignum; in CompareBufferWithDiyFp()
400 Bignum diy_fp_bignum; in CompareBufferWithDiyFp()
413 return Bignum::Compare(buffer_bignum, diy_fp_bignum); in CompareBufferWithDiyFp()
/third_party/node/deps/icu-small/source/i18n/
Ddouble-conversion-bignum-dtoa.cpp71 Bignum* numerator,
72 Bignum* denominator,
73 Bignum* delta_minus,
74 Bignum* delta_plus);
82 Bignum* numerator, Bignum* denominator,
83 Bignum* delta_minus, Bignum* delta_plus);
86 static void GenerateShortestDigits(Bignum* numerator, Bignum* denominator,
87 Bignum* delta_minus, Bignum* delta_plus,
92 Bignum* numerator, Bignum* denominator,
99 Bignum* numerator, Bignum* denominator,
[all …]
Ddouble-conversion-bignum.h49 class Bignum {
56 Bignum() : used_bigits_(0), exponent_(0) {} in Bignum() function
60 void AssignBignum(const Bignum& other);
68 void AddBignum(const Bignum& other);
70 void SubtractBignum(const Bignum& other);
82 uint16_t DivideModuloIntBignum(const Bignum& other);
90 static int Compare(const Bignum& a, const Bignum& b);
91 static bool Equal(const Bignum& a, const Bignum& b) { in Equal()
94 static bool LessEqual(const Bignum& a, const Bignum& b) { in LessEqual()
97 static bool Less(const Bignum& a, const Bignum& b) { in Less()
[all …]
Ddouble-conversion-bignum.cpp50 Bignum::Chunk& Bignum::RawBigit(const int index) { in RawBigit()
56 const Bignum::Chunk& Bignum::RawBigit(const int index) const { in RawBigit()
69 void Bignum::AssignUInt16(const uint16_t value) { in AssignUInt16()
79 void Bignum::AssignUInt64(uint64_t value) { in AssignUInt64()
89 void Bignum::AssignBignum(const Bignum& other) { in AssignBignum()
111 void Bignum::AssignDecimalString(const Vector<const char> value) { in AssignDecimalString()
146 void Bignum::AssignHexString(Vector<const char> value) { in AssignHexString()
164 RawBigit(used_bigits_++) = static_cast<Bignum::Chunk>(tmp & kBigitMask); in AssignHexString()
170 void Bignum::AddUInt64(const uint64_t operand) { in AddUInt64()
174 Bignum other; in AddUInt64()
[all …]
Ddouble-conversion-strtod.cpp412 DOUBLE_CONVERSION_ASSERT(((kMaxDecimalPower + 1) * 333 / 100) < Bignum::kMaxSignificantBits); in CompareBufferWithDiyFp()
413 Bignum buffer_bignum; in CompareBufferWithDiyFp()
414 Bignum diy_fp_bignum; in CompareBufferWithDiyFp()
427 return Bignum::Compare(buffer_bignum, diy_fp_bignum); in CompareBufferWithDiyFp()
/third_party/node/deps/v8/src/base/numbers/
Dbignum-dtoa.cc32 Bignum* numerator, Bignum* denominator,
33 Bignum* delta_minus, Bignum* delta_plus);
40 int* decimal_point, Bignum* numerator,
41 Bignum* denominator, Bignum* delta_minus,
42 Bignum* delta_plus);
45 static void GenerateShortestDigits(Bignum* numerator, Bignum* denominator,
46 Bignum* delta_minus, Bignum* delta_plus,
51 Bignum* numerator, Bignum* denominator,
58 Bignum* numerator, Bignum* denominator,
86 Bignum numerator; in BignumDtoa()
[all …]
Dbignum.h13 class V8_BASE_EXPORT Bignum {
20 Bignum();
21 Bignum(const Bignum&) = delete;
22 Bignum& operator=(const Bignum&) = delete;
25 void AssignBignum(const Bignum& other);
34 void AddBignum(const Bignum& other);
36 void SubtractBignum(const Bignum& other);
48 uint16_t DivideModuloIntBignum(const Bignum& other);
52 static int Compare(const Bignum& a, const Bignum& b);
53 static bool Equal(const Bignum& a, const Bignum& b) { in Equal()
[all …]
Dbignum.cc12 Bignum::Bignum() in Bignum() function in v8::base::Bignum
25 void Bignum::AssignUInt16(uint16_t value) { in AssignUInt16()
35 void Bignum::AssignUInt64(uint64_t value) { in AssignUInt64()
51 void Bignum::AssignBignum(const Bignum& other) { in AssignBignum()
76 void Bignum::AssignDecimalString(Vector<const char> value) { in AssignDecimalString()
103 void Bignum::AssignHexString(Vector<const char> value) { in AssignHexString()
132 void Bignum::AddUInt64(uint64_t operand) { in AddUInt64()
134 Bignum other; in AddUInt64()
139 void Bignum::AddBignum(const Bignum& other) { in AddBignum()
180 void Bignum::SubtractBignum(const Bignum& other) { in SubtractBignum()
[all …]
Dstrtod.cc363 DCHECK_LT((kMaxDecimalPower + 1) * 333 / 100, Bignum::kMaxSignificantBits); in BignumStrtod()
364 Bignum input; in BignumStrtod()
365 Bignum boundary; in BignumStrtod()
378 int comparison = Bignum::Compare(input, boundary); in BignumStrtod()
/third_party/icu/icu4c/source/i18n/
Ddouble-conversion-bignum-dtoa.cpp71 Bignum* numerator,
72 Bignum* denominator,
73 Bignum* delta_minus,
74 Bignum* delta_plus);
82 Bignum* numerator, Bignum* denominator,
83 Bignum* delta_minus, Bignum* delta_plus);
86 static void GenerateShortestDigits(Bignum* numerator, Bignum* denominator,
87 Bignum* delta_minus, Bignum* delta_plus,
92 Bignum* numerator, Bignum* denominator,
99 Bignum* numerator, Bignum* denominator,
[all …]
Ddouble-conversion-bignum.h49 class Bignum {
56 Bignum() : used_bigits_(0), exponent_(0) {} in Bignum() function
60 void AssignBignum(const Bignum& other);
68 void AddBignum(const Bignum& other);
70 void SubtractBignum(const Bignum& other);
82 uint16_t DivideModuloIntBignum(const Bignum& other);
90 static int Compare(const Bignum& a, const Bignum& b);
91 static bool Equal(const Bignum& a, const Bignum& b) { in Equal()
94 static bool LessEqual(const Bignum& a, const Bignum& b) { in LessEqual()
97 static bool Less(const Bignum& a, const Bignum& b) { in Less()
[all …]
Ddouble-conversion-bignum.cpp50 Bignum::Chunk& Bignum::RawBigit(const int index) { in RawBigit()
56 const Bignum::Chunk& Bignum::RawBigit(const int index) const { in RawBigit()
69 void Bignum::AssignUInt16(const uint16_t value) { in AssignUInt16()
79 void Bignum::AssignUInt64(uint64_t value) { in AssignUInt64()
89 void Bignum::AssignBignum(const Bignum& other) { in AssignBignum()
111 void Bignum::AssignDecimalString(const Vector<const char> value) { in AssignDecimalString()
146 void Bignum::AssignHexString(Vector<const char> value) { in AssignHexString()
164 RawBigit(used_bigits_++) = static_cast<Bignum::Chunk>(tmp & kBigitMask); in AssignHexString()
170 void Bignum::AddUInt64(const uint64_t operand) { in AddUInt64()
174 Bignum other; in AddUInt64()
[all …]
Ddouble-conversion-strtod.cpp412 DOUBLE_CONVERSION_ASSERT(((kMaxDecimalPower + 1) * 333 / 100) < Bignum::kMaxSignificantBits); in CompareBufferWithDiyFp()
413 Bignum buffer_bignum; in CompareBufferWithDiyFp()
414 Bignum diy_fp_bignum; in CompareBufferWithDiyFp()
427 return Bignum::Compare(buffer_bignum, diy_fp_bignum); in CompareBufferWithDiyFp()
/third_party/skia/third_party/externals/icu/source/i18n/
Ddouble-conversion-bignum-dtoa.cpp71 Bignum* numerator,
72 Bignum* denominator,
73 Bignum* delta_minus,
74 Bignum* delta_plus);
82 Bignum* numerator, Bignum* denominator,
83 Bignum* delta_minus, Bignum* delta_plus);
86 static void GenerateShortestDigits(Bignum* numerator, Bignum* denominator,
87 Bignum* delta_minus, Bignum* delta_plus,
92 Bignum* numerator, Bignum* denominator,
99 Bignum* numerator, Bignum* denominator,
[all …]
Ddouble-conversion-bignum.h49 class Bignum {
56 Bignum() : used_bigits_(0), exponent_(0) {} in Bignum() function
60 void AssignBignum(const Bignum& other);
68 void AddBignum(const Bignum& other);
70 void SubtractBignum(const Bignum& other);
82 uint16_t DivideModuloIntBignum(const Bignum& other);
90 static int Compare(const Bignum& a, const Bignum& b);
91 static bool Equal(const Bignum& a, const Bignum& b) { in Equal()
94 static bool LessEqual(const Bignum& a, const Bignum& b) { in LessEqual()
97 static bool Less(const Bignum& a, const Bignum& b) { in Less()
[all …]
Ddouble-conversion-bignum.cpp50 Bignum::Chunk& Bignum::RawBigit(const int index) { in RawBigit()
56 const Bignum::Chunk& Bignum::RawBigit(const int index) const { in RawBigit()
69 void Bignum::AssignUInt16(const uint16_t value) { in AssignUInt16()
79 void Bignum::AssignUInt64(uint64_t value) { in AssignUInt64()
89 void Bignum::AssignBignum(const Bignum& other) { in AssignBignum()
111 void Bignum::AssignDecimalString(const Vector<const char> value) { in AssignDecimalString()
146 void Bignum::AssignHexString(Vector<const char> value) { in AssignHexString()
169 void Bignum::AddUInt64(const uint64_t operand) { in AddUInt64()
173 Bignum other; in AddUInt64()
179 void Bignum::AddBignum(const Bignum& other) { in AddBignum()
[all …]
Ddouble-conversion-strtod.cpp412 DOUBLE_CONVERSION_ASSERT(((kMaxDecimalPower + 1) * 333 / 100) < Bignum::kMaxSignificantBits); in CompareBufferWithDiyFp()
413 Bignum buffer_bignum; in CompareBufferWithDiyFp()
414 Bignum diy_fp_bignum; in CompareBufferWithDiyFp()
427 return Bignum::Compare(buffer_bignum, diy_fp_bignum); in CompareBufferWithDiyFp()
/third_party/icu/vendor/double-conversion/upstream/test/cctest/
Dtest-bignum.cc41 static void AssignHexString(Bignum* bignum, const char* str) { in AssignHexString()
47 static void AssignDecimalString(Bignum* bignum, const char* str) { in AssignDecimalString()
55 Bignum bignum; in TEST()
56 Bignum bignum2; in TEST()
124 Bignum bignum; in TEST()
162 Bignum bignum; in TEST()
261 Bignum bignum; in TEST()
262 Bignum other; in TEST()
355 Bignum bignum; in TEST()
356 Bignum other; in TEST()
[all …]
Dtest-strtod.cc1073 static int CompareBignumToDiyFp(const Bignum& bignum_digits, in CompareBignumToDiyFp()
1076 Bignum bignum; in CompareBignumToDiyFp()
1078 Bignum other; in CompareBignumToDiyFp()
1090 return Bignum::Compare(bignum, other); in CompareBignumToDiyFp()
1099 Bignum input_digits; in CheckDouble()
1185 Bignum input_digits; in CheckFloat()
/third_party/python/Modules/_decimal/libmpdec/literature/
Dbignum.txt3 Bignum support (Fast Number Theoretic Transform or FNT):
6 Bignum arithmetic in libmpdec uses the scheme for fast convolution
/third_party/mbedtls/programs/
DREADME.md48 ### Bignum (`mpi`) usage examples
/third_party/mbedtls/
DChangeLog4383 * Bignum's MIPS-32 assembly was used on MIPS-64, causing chaos. (Found by
4698 * Bignum's MIPS-32 assembly was used on MIPS-64, causing chaos. (Found by

12