This commit is contained in:
Jakub Doka 2024-11-08 08:36:13 +01:00
parent 455f70db6e
commit 1b2b9f899d
No known key found for this signature in database
GPG key ID: C6E9A89936B8C143

View file

@ -1,9 +0,0 @@
signum := fn($Expr: type, x: Expr): int {
if x > @as(Expr, @intcast(0)) {
return 1
} else if x < @as(Expr, @intcast(0)) {
return -
} else {
return 0
}
}