The wiki has been upgraded to MediaWiki 1.43. The wiki's theme is still being adapted to work with the new version, and may appear broken for the time being. --RanAS

DSP1/Triangle

From SnesLab
Jump to: navigation, search
Basic Info
Opcode 04
Speed 59 cycles

7.8 μs

Triangle is a DSP1 command that performs a trigonometric calculation.

Input Parameters

  • θ[A] is the angle
  • r[T/l] is the radius

Ouput Parameters

  • S[T/l] is the sine
  • C[T/l] is the cosine

References