1
0
Fork 0

isnan: shorter & faster

This commit is contained in:
mfranz 2009-04-24 08:12:21 +00:00
parent dcb7d9427e
commit 35d506bce1

View file

@ -331,8 +331,8 @@ var warn = func(msg, level = 0) {
}
var isnan = func(v) {
call(func math.sin(v), nil, var err = []);
var isnan = func {
call(math.sin, arg, var err = []);
return !!size(err);
}