Skip to content

shz_sincosu16

Markdown
SHZ_INLINE shz_sincos_t shz_sincosu16(uint16_t radians16) SHZ_NOEXCEPT;

Returns sinf()/cosf() pairs for the given unsigned 16-bit angle in radians.

NameTypeDescription
radians16uint16_t

shz_sincos_t

  • u16: Angle is a 16-bit fixed-point value: 0..65535 maps to 0..2π, the native FSCA input format. (Naming and Suffixes)
  • C++ equivalent: shz::sincosu16
  • Type-generic form: none
  • Back-ends: SH4: dedicated SH4 implementation · SW: portable C · SPU: shared C implementation
  • Defined in: sh4zam/shz_trig.h:71
  • Module: Trigonometry, section "Sin/Cos Pairs"