Sign in
swiftshader
/
SwiftShader
/
eb0a25a189b75d950ae4f87c00f8d63f190d82a0
/
.
/
third_party
/
llvm-7.0
/
llvm
/
test
/
tools
/
llvm-cov
/
Inputs
/
multithreaded_report
/
abs.h
blob: 41eb2b06c0fa046f67ef69e6ae88d49aaf6fc8bd [
file
] [
log
] [
blame
]
template
<
typename
T
>
T abs
(
T x
)
{
if
(
x
<
0
)
{
return
-
x
;
}
return
x
;
}