Home
last modified time | relevance | path

Searched refs:x_negative (Results 1 - 3 of 3) sorted by relevance

/third_party/node/deps/v8/src/bigint/
H A Dvector-arithmetic.cc93 bool AddSigned(RWDigits Z, Digits X, bool x_negative, Digits Y, in AddSigned() argument
95 if (x_negative == y_negative) { in AddSigned()
97 return x_negative; in AddSigned()
101 return x_negative; in AddSigned()
104 return !x_negative; in AddSigned()
107 bool SubtractSigned(RWDigits Z, Digits X, bool x_negative, Digits Y, in SubtractSigned() argument
109 if (x_negative != y_negative) { in SubtractSigned()
111 return x_negative; in SubtractSigned()
115 return x_negative; in SubtractSigned()
118 return !x_negative; in SubtractSigned()
[all...]
H A Dbitwise.cc273 int AsIntNResultLength(Digits X, bool x_negative, int n) {
283 if (!x_negative) return needed_digits;
290 bool AsIntN(RWDigits Z, Digits X, bool x_negative, int n) {
293 DCHECK(AsIntNResultLength(X, x_negative, n) > 0);
311 return x_negative;
314 if (!x_negative) return true; // Result is negative.
H A Dbigint.h228 bool AddSigned(RWDigits Z, Digits X, bool x_negative, Digits Y,
236 bool SubtractSigned(RWDigits Z, Digits X, bool x_negative, Digits Y,
267 bool AsIntN(RWDigits Z, Digits X, bool x_negative, int n);
380 int AsIntNResultLength(Digits X, bool x_negative, int n);

Completed in 3 milliseconds