ExpModIntegerCostingFun

scalus.uplc.eval.ExpModIntegerCostingFun

Custom costing function for expModInteger builtin (CIP-109).

The CPU cost uses the ExpModCost formula which accounts for the size of base, exponent, and modulus. Memory cost is linear in the size of the modulus.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait CostingFun
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product