summaryrefslogtreecommitdiff
path: root/generic/lib/geometric/length.inc
blob: 5faaaffbd6a8b5a33f83def3ce03e54f0b7ae03a (plain)
1
2
3
_CLC_OVERLOAD _CLC_DEF __CLC_FLOAT length(__CLC_FLOATN p) {
  return native_sqrt(dot(p, p));
}