From b69f06b772e586486e589f26a3253be570da9fcd Mon Sep 17 00:00:00 2001 From: Gabriel Ozouf Date: Wed, 2 Dec 2020 11:33:28 +0100 Subject: [PATCH] [poincare/logarithm] Comment clarity --- poincare/src/logarithm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poincare/src/logarithm.cpp b/poincare/src/logarithm.cpp index 4eaf6174d..7f45f9c1b 100644 --- a/poincare/src/logarithm.cpp +++ b/poincare/src/logarithm.cpp @@ -350,7 +350,7 @@ Expression Logarithm::unaryFunctionDifferential() { * ln(x) is only defined for x > 0, but 1/x is defined for any x != 0. * Therefore we need to restricted the domain of the derivative function by * adding a part that is undefined for x < 0. - * The chosen solution is √x^2 / (x * √x^2), which has the advantages of : + * The chosen solution is (√x)^2 / (x * (√x)^2), which has the advantages of : * - not being reduced with SystemForApproximation, unlike √x/x√x * - not adding additional undefined points, unlike ln(x)/xln(x) for x = 1 * - not reducing precision, unlike 1/√(x^2)