Post Reply 
Plus42 Equations, Preview Release
06-08-2022, 05:58 PM
Post: #723
RE: Plus42 Equations, Preview Release
do_i_pct_yr() Wrote:phloat h = i / 10000;
phloat f2 = tvm_eq(i + h);
phloat d = (f2 - f) / h;

The problem is h = 0 when i = 0, which produced NaN slope.

The bug exist before the new rate guess.
It is just very rare to be hit by it.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Plus42 Equations, Preview Release - Albert Chan - 06-08-2022 05:58 PM



User(s) browsing this thread: 1 Guest(s)