Golf sgn0

This commit is contained in:
Pyrex 2022-12-22 18:35:24 -08:00
parent 94e4aea20b
commit ed25ef0f94

View File

@ -93,8 +93,7 @@ function _apply(x,ts,a)
end
function sgn0(x)
if (x==0) return x
return sgn(x)
return x!=0 and sgn(x) or 0
end
function _mnmx(x,y)