MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / sub

Method sub

src/common/Int128.h:253–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

251 }
252
253 Int128 sub(Int128 op2) const
254 {
255 Int128 rc;
256 rc.v = v - op2.v;
257
258 // see comment ArithmeticNode::add2()
259 if (sign() != op2.sign() && op2.sign() == rc.sign())
260 overflow();
261
262 return rc;
263 }
264
265 Int128 mul(Int128 op2) const
266 {

Callers

nothing calls this directly

Calls 3

signFunction · 0.85
signMethod · 0.45
SubMethod · 0.45

Tested by

no test coverage detected