]> gitweb.factorcode.org Git - factor.git/commit
math.functions: adding e^-1.
authorJohn Benediktsson <mrjbq7@gmail.com>
Tue, 5 Nov 2019 18:19:32 +0000 (10:19 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Tue, 5 Nov 2019 18:19:32 +0000 (10:19 -0800)
commitda64b05e6dce829ad421e4e3d54202a682b9ee4c
treebdd6243c8064a6c3e5406da2a27a41da179237a7
parent4c48f03fe1b8470915957f3959d5d65f110988a8
math.functions: adding e^-1.

This is for calculating e^x-1 for small values more accurately.  You can also
call expm1(x) function if you want, and it's available on your platform.

FUNCTION: double expm1 ( double x )
basis/math/functions/functions-tests.factor
basis/math/functions/functions.factor