Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e1dc1fa4 authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 4429796 from d5173cda to pi-release

Change-Id: I71771dd992e4c9af45d37716a1ba96ec084e03b0
parents 7b7a842c d5173cda
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1011,6 +1011,9 @@ public class UnifiedReal {
    }

    public UnifiedReal ln() {
        if (mCrFactor == CR_E) {
            return new UnifiedReal(mRatFactor, CR_ONE).ln().add(ONE);
        }
        if (isComparable(ZERO)) {
            if (signum() <= 0) {
                throw new ArithmeticException("log(non-positive)");