shz_hypotf
SHZ_INLINE float shz_hypotf(float x, float y) SHZ_NOEXCEPT;Replacement for the <math.h> routine, hypotf().
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
x | float | |
y | float |
Returns
Section titled “Returns”float
Details
Section titled “Details”Returns the hypoteneuse of the right triangle with the given legs.
Warnings
Section titled “Warnings”- Unlike hypotf(), this routine has no error or overflow handling.
Availability
Section titled “Availability”- 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"