MCPcopy
hub / github.com/ethereum/EIPs / Add

Function Add

assets/eip-7543/uint256_wrapped.go:14–18  ·  view source on GitHub ↗
(a, b, out *int256, gas *uint64)

Source from the content-addressed store, hash-verified

12}
13
14func Add(a, b, out *int256, gas *uint64) *int256 {
15 out.Add(a, b)
16 *gas += GasFastestStep
17 return out
18}
19
20func Set(a, out *int256, gas *uint64) *int256 {
21 out.Set(a)

Callers 9

AddMethod · 0.85
MulMethod · 0.85
ExpMethod · 0.85
LnMethod · 0.85
SinMethod · 0.85
normalizeMethod · 0.85
roundMethod · 0.85
ln_recurFunction · 0.85

Calls 1

AddMethod · 0.80

Tested by

no test coverage detected