INtime SDK Help

Calculates the Euclidean distance function.

#include <math.h>

double hypot(double x, double y);


These functions shall compute the value of the square root of x2+ y2 without undue overflow or underflow.

An application wishing to check for error situations should set errno to zero and call feclearexcept(FE_ALL_EXCEPT) before calling these functions. On return, if errno is non-zero or fetestexcept (FE_INVALID | FE_DIVBYZERO | FE_OVERFLOW | FE_UNDERFLOW) is non-zero, an error has occurred.

Return Values


Versions Defined in Include Link to
INtime 3.0 intime/rt/include/math.h math.h clib.lib