MCPcopy Create free account
hub / github.com/Singular/Singular / operator++

Method operator++

IntegerProgramming/BigInt.cc:137–142  ·  view source on GitHub ↗

postfix ++

Source from the content-addressed store, hash-verified

135
136// postfix ++
137BigInt BigInt::operator++(int)
138{
139 BigInt erg;
140 mpz_add(erg.value,value,BigInt(1).value);
141 return erg;
142}
143
144// prefix --
145BigInt& BigInt::operator--()

Callers

nothing calls this directly

Calls 1

BigIntClass · 0.85

Tested by

no test coverage detected