Skip to content

shz_hypotf

Markdown
SHZ_INLINE float shz_hypotf(float x, float y) SHZ_NOEXCEPT;

Replacement for the <math.h> routine, hypotf().

NameTypeDescription
xfloat
yfloat

float

Returns the hypoteneuse of the right triangle with the given legs.

  • Unlike hypotf(), this routine has no error or overflow handling.
  • C++ equivalent: shz::hypotf
  • Type-generic form: none
  • Back-ends: SH4: shared C implementation · SW: portable C · SPU: shared C implementation
  • Defined in: sh4zam/shz_scalar.h:237
  • Module: Scalar, section "Miscellaneous"