Panther Search Documentation Tutorials Devlogs Downloads Source Code

Documentation > Panther Documentation > Intrinsics > @fdiv

@fdiv

Panther
Documentation


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

  Floating-point division.

Template Parameters

  T: type of arguments and output - must be 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 value of the division

Example

(TODO)

See Also

@div Integer division
@rem Division remainder