Arithmetic

FractionExponent

Name: FractionExponent

Type: integer

Calculates a fraction ( numerator / denominator ) to the power of exponent, multiplied by precision.

precision must be between 1 and 10e300

Gate supports integers up to a million digits large (so up to 10 ^ 1,000,001 - 1)

PercentageDiff

Name: PercentageDiff

Type: integer

Calculates the percentage change between before and after. The change will always be a non-negative number, regardless of its direction.

Approximately

Name: Approximately

Type: boolean

Checks whether source approximates target by percent percents.

Last updated