FARCTANC#

Format: FARCTANC dest, source.

Phase0: FARCTANC W0, S0.

Phase1: -

Phase2: -

Description: Trigonometric ‘(arctan x)/x’, one source.

Used for calculating atan(x).

W0 = arctanc(S0)
  1. Behaviour is not defined for input outside of [-1,1] range

  2. FARCTAN(Any NaN) = +NaN

  3. Any input < 0x39C00000 produces 1.0

Example:

void main()
{
    fragColor = atan(a);
}
5    : if(p0)
{
       farctanc i0, i1
}