summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/test-mp-equation.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test-mp-equation.c b/src/test-mp-equation.c
index 4404a51..5052fa0 100644
--- a/src/test-mp-equation.c
+++ b/src/test-mp-equation.c
@@ -313,6 +313,7 @@ test_equations()
test("2x²+2xy−12y²", "−88", 0);
test("π", "3.141592654", 0);
+ test("pi", "3.141592654", 0);
test("e", "2.718281828", 0);
test("z=99", "99", 0);
@@ -569,6 +570,7 @@ test_equations()
test("(−1)^0.5", "i", 0);
test("√−4", "2i", 0);
test("e^iπ", "−1", 0);
+ test("ln (e^iπ)", "3.141592654i", 0);
test("log (−10) − (1 + πi÷ln(10))", "0", 0);
test("ln (−e) − (1 + πi)", "0", 0);
test("sin(iπ÷4) − i×sinh(π÷4)", "0", 0);