Skip to content

wideRatio

wideRatio(numeratorFactors, denominatorFactors): uint64

Use this method if all inputs to the expression are uint64s, the output fits in a uint64, and all intermediate values fit in a uint128. Otherwise uintN division should be used.

Parameters

numeratorFactors: uint64[]

denominatorFactors: uint64[]

Returns

uint64

product of numerators divided by product of denominator

Source

types/global.d.ts:1243