Skip to content

Commit 3836735

Browse files
Update math/factorial.cpp
Co-authored-by: David Leal <[email protected]>
1 parent 6dd0506 commit 3836735

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

math/factorial.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @file
33
* @brief Find the [factorial](https://en.wikipedia.org/wiki/Factorial) of a given number
4-
* @description calculates factorial via recursion
4+
* @details Calculate factorial via recursion
55
* \f[n! = n\times(n-1)\times(n-2)\times(n-3)\times\ldots\times3\times2\times1
66
* = n\times(n-1)!\f]
77
* for example:

0 commit comments

Comments
 (0)