MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / operator-

Method operator-

extern/ttmath/ttmathint.h:1654–1661  ·  view source on GitHub ↗

! an operator for changing the sign it's not changing 'this' but the changed value will be returned */

Source from the content-addressed store, hash-verified

1652 it's not changing 'this' but the changed value will be returned
1653 */
1654 Int<value_size> operator-() const
1655 {
1656 Int<value_size> temp(*this);
1657
1658 temp.ChangeSign();
1659
1660 return temp;
1661 }
1662
1663
1664 Int<value_size> operator-(const Int<value_size> & p2) const

Callers

nothing calls this directly

Calls 2

ChangeSignMethod · 0.80
SubMethod · 0.45

Tested by

no test coverage detected