You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The spec for the function m.ln1p defines it as ln(1+ x^2). This is surprising because the normal definition, is ln(1+ x). This aligns with the classic Taylor series (the Mercator series) and java.lang.Math.log1p.
Looking at the code for hadrian, I see that the implementation is actually java.lang.Math.log1p.
The spec for the function
m.ln1p
defines it asln(1+ x^2)
. This is surprising because the normal definition, isln(1+ x)
. This aligns with the classic Taylor series (the Mercator series) andjava.lang.Math.log1p
.Looking at the code for hadrian, I see that the implementation is actually
java.lang.Math.log1p
.I can verify this by running the PFA script
and seeing the that the output for the first value matches the second, not the third.
So I think we should change the spec to say
ln(1+ x)
.The text was updated successfully, but these errors were encountered: