Panther Search Documentation Tutorials Devlogs Downloads Source Code

Documentation > Panther Documentation > Intrinsics > @rem

@rem

Panther
Documentation


1: func @rem = <{T: Type}> (lhs: T, rhs: T) -> T;

  Division remainder.

Template Parameters

  T: type of arguments and output - must be integral, a vector of integral, floating-point, or a vector of floating-point

Parameters

  lhs: left-hand-side value of operation

  rhs: right-hand-side value of operation

Return Value

  Result division remainder

Example

(TODO)

See Also

@div Integer division
@fdiv Floating-point division