mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-31 03:40:08 +00:00
Merge branch 'master' of https://github.com/odin-lang/Odin
This commit is contained in:
+1
-1
@@ -508,7 +508,7 @@ factorial :: proc(n: int) -> int {
|
|||||||
|
|
||||||
assert(n >= 0, "parameter must not be negative");
|
assert(n >= 0, "parameter must not be negative");
|
||||||
assert(n < len(table), "parameter is too large to lookup in the table");
|
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 {
|
classify_f32 :: proc(x: f32) -> Float_Class {
|
||||||
|
|||||||
Reference in New Issue
Block a user