Merge pull request #810 from oskarnp/fix-math-factorial

Fix math.factorial()
This commit is contained in:
gingerBill
2020-12-13 11:17:59 +00:00
committed by GitHub

View File

@@ -508,7 +508,7 @@ factorial :: proc(n: int) -> int {
assert(n >= 0, "parameter must not be negative");
assert(n < len(table), "parameter is too large to lookup in the table");
return 0;
return table[n];
}
classify_f32 :: proc(x: f32) -> Float_Class {