The Nest
Explore
Sign in
nuudlman
llvm
llvm
test
tools
llvm-cov
Inputs
multithreaded_report
pow.h
0
Compiler projects using llvm
Code
Changes
Tags
Discussions
main
template
<
typename T
>
T
pow
(
T
b
,
T
p
)
{
if
(
!
p
)
return
1
;
while
(
-
-
p
)
{
b
*=
b
;
}
return
b
;
}