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/
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()
Dbitwise.cc273 int AsIntNResultLength(Digits X, bool x_negative, int n) { in AsIntNResultLength() argument
283 if (!x_negative) return needed_digits; in AsIntNResultLength()
290 bool AsIntN(RWDigits Z, Digits X, bool x_negative, int n) { in AsIntN() argument
293 DCHECK(AsIntNResultLength(X, x_negative, n) > 0); in AsIntN()
311 return x_negative; in AsIntN()
314 if (!x_negative) return true; // Result is negative. in AsIntN()
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);