Home
last modified time | relevance | path

Searched refs:xsign (Results 1 – 1 of 1) sorted by relevance

/external/v8/src/objects/
Dbigint.cc537 bool xsign = x->sign(); in Add() local
538 if (xsign == y->sign()) { in Add()
541 return MutableBigInt::AbsoluteAdd(isolate, x, y, xsign); in Add()
546 return MutableBigInt::AbsoluteSub(isolate, x, y, xsign); in Add()
548 return MutableBigInt::AbsoluteSub(isolate, y, x, !xsign); in Add()
553 bool xsign = x->sign(); in Subtract() local
554 if (xsign != y->sign()) { in Subtract()
557 return MutableBigInt::AbsoluteAdd(isolate, x, y, xsign); in Subtract()
562 return MutableBigInt::AbsoluteSub(isolate, x, y, xsign); in Subtract()
564 return MutableBigInt::AbsoluteSub(isolate, y, x, !xsign); in Subtract()