From 81aa78009bcb2bc07abfb6cd3953e24ae3979dd8 Mon Sep 17 00:00:00 2001 From: mbkma Date: Wed, 26 Aug 2020 20:19:31 +0200 Subject: fix calulation of x^q, where 1/q is a negative integer --- src/test-mp-equation.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/test-mp-equation.c') diff --git a/src/test-mp-equation.c b/src/test-mp-equation.c index adf6c06..3e1d993 100644 --- a/src/test-mp-equation.c +++ b/src/test-mp-equation.c @@ -476,6 +476,7 @@ test_equations(void) test("2^0.5", "1.414213562", 0); test("₃√−8", "−2", 0); test("(−8)^(1÷3)", "−2", 0); + test("e^-2^-5", "0.969233234", 0); test("0 mod 7", "0", 0); test("6 mod 7", "6", 0); -- cgit v1.2.1