AngouriMath

Try it live

Navigation

← Back to list of members

DifferenceOfExponentials​(AngouriMath.​Entity,​AngouriMath.​Entity)

 Method (no overloads)

Summary

e^u - e^v, or e^u - 1, evaluated as e^v (e^(u - v) - 1), with u - v taken before
either power is rounded and e^d - 1 with the digits it would cancel: subtracting the two powers
rounded lost every digit of u - v below half the working ones, so sinh(10^(-60)), which is
(e^(10^(-60)) - e^(-10^(-60)))/2, was 0, and sinh(10^(-20)) kept 80 of its digits.
null where the two are not powers of e with numeric exponents.
https://github.com/asc-community/AngouriMath/issues/2074

























Angouri © 2019-2026 · Project's repo · Site's repo · Octicons · Transparency · 6038 pages online