fix for asin/acos

This commit is contained in:
serso 2011-09-17 12:51:29 +04:00
parent 908103b2d3
commit c99dd57e60

View File

@ -36,6 +36,12 @@ public class Preprocessor {
} else if (s.startsWith("atg", i)) { } else if (s.startsWith("atg", i)) {
sb.append("atan"); sb.append("atan");
i += 2; i += 2;
} else if (s.startsWith("acos", i)) {
sb.append("acos");
i += 3;
} else if (s.startsWith("asin", i)) {
sb.append("asin");
i += 3;
} else if (s.startsWith("e(", i)) { } else if (s.startsWith("e(", i)) {
sb.append("exp("); sb.append("exp(");
i += 1; i += 1;