Panther Search Documentation Tutorials Devlogs Downloads Source Code

Documentation > Panther Documentation > Intrinsics > @fneg

@fneg

Panther
Documentation


1: func @fneg = <{T: Type}> (arg: T) -> T;

  Floating-point negation.

Template Parameters

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

Parameters

  arg: value to be negated

Return Value

  Result value of the negation

Example

(TODO)