AngouriMath

Navigation

ExponentialQuotients


← Back to list of classes

Description

Summary

A quotient of one power plus two constants, (b^v + c1) / (b^v + c2), as
1 + (c1 - c2) / (b^v + c2). The two are the same value wherever the quotient has one,
and the second does not divide an overflow by an overflow.

Remarks

It is how tanh and coth are spelled: Tanh(AngouriMath.Entity) is
(e^(2x) - 1) / (e^(2x) + 1). Past the range of the decimals, or of a double, both sides
of it are infinite, so tanh(5568) evaluated to NaN and tanh(400) compiled to NaN,
where both are 1. At a real infinity the second form is the limit, as tanh(-oo) already
was -1 and arctan(+oo) is pi / 2: tanh(+oo) is 1.
https://github.com/asc-community/AngouriMath/issues/2254

Members

























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