ExpModCostingFunction
scalus.uplc.eval.ExpModCostingFunction
case class ExpModCostingFunction(coefficient00: CostingInteger, coefficient11: CostingInteger, coefficient12: CostingInteger)
Costing function for modular exponentiation (expModInteger builtin).
The cost formula is: if aa <= mm then cost0 else cost0 + cost0/2 where cost0 = c00 + c11 * ee * mm + c12 * ee * mm * mm
Value parameters
- coefficient00
-
constant coefficient
- coefficient11
-
coefficient for e * m term
- coefficient12
-
coefficient for e * m^2 term
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article