Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
d768ac0395f7f9e2146f9522b3a120f379a1a934
/
.
/
libclc
/
generic
/
lib
/
math
/
hypot.inc
blob: 036cee7e1f065bc90ad8543a891bfb8184279a66 [
file
] [
log
] [
blame
]
Tom Stellard
d768ac0
2013-07-08 17:27:02 +0000
[
diff
] [
blame^
]
1
_CLC_OVERLOAD _CLC_DEF __CLC_GENTYPE hypot
(
__CLC_GENTYPE x
,
__CLC_GENTYPE y
)
{
Peter Collingbourne
de7227e
2012-05-29 13:35:28 +0000
[
diff
] [
blame
]
2
return
sqrt
(
x
*
x
+
y
*
y
);
3
}