Ow, that's what I was worried about. And even worse, I just found out AS returns true in NaN==0 comparison, so it's more or less useless (you might think this means it's actually 0 rather than NaN, but then I doubt formatFloat() would return "-1.#IND"). While whether division by 0 is useful or not is arguable, NaN being equal to 0 is certainly something that should get fixed, since it's a value that's supposed to return false even in NaN==NaN . I'll try to get in touch with whoever is in charge of AS.
__________________
I am an official JJ2+ programmer and this has been an official JJ2+ statement.
|