We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74751f6 commit df60bddCopy full SHA for df60bdd
std/math/math.pics
@@ -213,18 +213,6 @@ Math :: module {
213
radToDeg :: (rad=0) = rad * (180 / 3.141592653589793)
214
215
216
- // Function: factorial
217
- // Computes the factorial of a number
218
- //
219
- // Parameters:
220
- // n - The number to compute factorial from
221
222
- // Returns:
223
- // The factorial of `n`
224
- factorial :: (n=0) =
225
- if n <= 1 do { 1 }
226
- else do { n * factorial(n - 1) }
227
-
228
// Variable: E
229
// The double value that is closer than any other to e, the base of the natural logarithms.
230
E := 2.718281828459045
0 commit comments