summaryrefslogtreecommitdiff
path: root/generic/lib/math/hypot.inc
blob: 036cee7e1f065bc90ad8543a891bfb8184279a66 (plain)
1
2
3
_CLC_OVERLOAD _CLC_DEF __CLC_GENTYPE hypot(__CLC_GENTYPE x, __CLC_GENTYPE y) {
  return sqrt(x*x + y*y);
}