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) { var isnan = func {
call(func math.sin(v), nil, var err = []); call(math.sin, arg, var err = []);
return !!size(err); return !!size(err);
} }