klyn.Float16.operator%
method
public native static operator%( readonly a as Float16, readonly b as Float16 ) as Float16
Description

Computes the floor remainder, with the divisor's sign (including signed zero).

Parameters
ParameterDescription
aDividend.
bDivisor.
Returns

a%b.

Throws
  • ZeroDivisionException if the divisor equals Float16(0.0) at runtime.
Example
assert Float16(10.0) % Float16(3.0) == Float16(1.0)
assert -5.5h % 2h == 0.5h