lapy2#
Functions
-
f32 slapy2(const f32 x, const f32 y)#
SLAPY2 returns
sqrt(x**2 + y**2), taking care not to cause unnecessary overflow and unnecessary underflow.Parameters
inxSingle precision scalar. Specifies the value x.
inySingle precision scalar. Specifies the value y.
- Returns:
sqrt(x**2 + y**2)computed safely.
f32 slapy2(
const f32 x,
const f32 y
);
Functions
-
f64 dlapy2(const f64 x, const f64 y)#
DLAPY2 returns
sqrt(x**2 + y**2), taking care not to cause unnecessary overflow and unnecessary underflow.Parameters
inxDouble precision scalar. Specifies the value x.
inyDouble precision scalar. Specifies the value y.
- Returns:
sqrt(x**2 + y**2)computed safely.
f64 dlapy2(
const f64 x,
const f64 y
);