This website requires JavaScript.
Explore
Help
Register
Sign In
NiclasThobaben
/
avr-fw-modules
forked from
haraldwolff/avr-fw-modules
Watch
1
Star
0
Fork
You've already forked avr-fw-modules
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
master
avr-fw-modules
/
core
/
src
/
ifact.c
10 lines
109 B
C
Executable File
Raw
Permalink
Blame
History
#
include
<stdint.h>
int64_t
ifact
(
int
n
)
{
int64_t
r
=
1
;
while
(
n
>
1
)
{
r
*
=
(
n
-
-
)
;
}
;
return
r
;
}
;
Reference in New Issue
View Git Blame
Copy Permalink