Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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 ++
137
BigInt BigInt::operator++(int)
138
{
139
BigInt erg;
140
mpz_add(erg.value,value,BigInt(1).value);
141
return erg;
142
}
143
144
// prefix --
145
BigInt& BigInt::operator--()
Callers
nothing calls this directly
Calls
1
BigInt
Class · 0.85
Tested by
no test coverage detected