quote:
Originally posted by phalanxii
1. The F5 calculate works even if it is disabled. (Not that I don't use it )
That's what you have with pre-releases: the creator only tests what he thinks he needs to test... doh!
quote:
Originally posted by phalanxii
2. Inverse trigonometry functions don't work. (Debug says "! Out of stack space") Fixed this one by removing this line (I think it causes a sort of loop):code:
if (/^Math\.(a(?:sin|cos|tan2?))\((.+)\)$/.test(Token)) {
var Func = "Math." + RegExp.$1 + "(" + RegExp.$2 + ")/Math.PI";
if (/^degrees?$/i.test(Angle)){
Token = Func + "*180";
} else if (/^grad$/i.test(Angle)) {
Token = Func + "*200";
}
Token = Token.Calculate();
}
Hmm... strange, but if that can fix it...
quote:
Originally posted by phalanxii
3. Negative functions? (Not subtraction, but expressions beginning with "-Sin(1.5)" or "-Pi"; don't need this too desperately because "0-Pi" works)
Well, here I go again with another attempt for negative values!
quote:
4. Hexadecimal "not a number" is "NAN" as opposed to "NaN" in other bases.
Yeh, I wanted to show the hexadecimal values in capital letters, but it seems like I have to run a check for it first.
quote:
Besides that, everything seems fine. Really helpful for maths homework.
Heh... I guess that's why they requested this script.