tuweni / org.apache.tuweni.units.bigints / UInt64Value / divide

divide

abstract fun divide(value: T): T (source)

Returns a value that is (this / value).

Parameters

value - T: The amount to divide this value by.

Exceptions

ArithmeticException - value == 0.

Return
T: this / value

abstract fun divide(value: Long): T (source)

Returns a value that is (this / value).

Parameters

value - Long: The amount to divide this value by.

Exceptions

ArithmeticException - value ≤ 0.

Return
T: this / value