Golf sgn0

This commit is contained in:
pyrex committed 2022-12-22 18:35:24 -08:00
1 parent 94e4aea20b
commit ed25ef0f94
1 file changed
+1 -2
+1 -2
View File
@@ -93,8 +93,7 @@ function _apply(x,ts,a)
end end
function sgn0(x) function sgn0(x)
if (x==0) return x return x!=0 and sgn(x) or 0
return sgn(x)
end end
function _mnmx(x,y) function _mnmx(x,y)