Searched refs:x_length (Results 1 – 2 of 2) sorted by relevance
/third_party/node/deps/v8/src/bigint/ |
D | bigint.h | 310 inline int AddResultLength(int x_length, int y_length) { in AddResultLength() argument 311 return std::max(x_length, y_length) + 1; in AddResultLength() 313 inline int AddSignedResultLength(int x_length, int y_length, bool same_sign) { in AddSignedResultLength() argument 314 return same_sign ? AddResultLength(x_length, y_length) in AddSignedResultLength() 315 : std::max(x_length, y_length); in AddSignedResultLength() 317 inline int SubtractResultLength(int x_length, int y_length) { return x_length; } in SubtractResultLength() argument 318 inline int SubtractSignedResultLength(int x_length, int y_length, in SubtractSignedResultLength() argument 320 return same_sign ? std::max(x_length, y_length) in SubtractSignedResultLength() 321 : AddResultLength(x_length, y_length); in SubtractSignedResultLength() 346 inline int BitwiseAnd_PosPos_ResultLength(int x_length, int y_length) { in BitwiseAnd_PosPos_ResultLength() argument [all …]
|
/third_party/node/deps/v8/src/objects/ |
D | bigint.cc | 850 int x_length = x->length(); in CompareToDouble() local 851 digit_t x_msd = x->digit(x_length - 1); in CompareToDouble() 853 int x_bitlength = x_length * kDigitBits - msd_leading_zeros; in CompareToDouble() 897 for (int digit_index = x_length - 2; digit_index >= 0; digit_index--) { in CompareToDouble() 1090 int x_length = x->length(); in ToDouble() local 1091 digit_t x_msd = x->digit(x_length - 1); in ToDouble() 1093 int x_bitlength = x_length * kDigitBits - msd_leading_zeros; in ToDouble() 1099 int digit_index = x_length - 1; in ToDouble()
|