Re: [Factor-talk] expm1 function missing

2019-11-04 Thread John Benediktsson
We can add that, it's probably roughly equal to this: GENERIC: e^-1 ( x -- y ) M: object e^-1 e^ 1 - ; inline M: float e^-1 dup 0.7 < [ dup e^ dup 1.0 = [ drop ] [ [ 1.0 - * ] [ log / ] bi ] if ] [ e^ 1.0 - ] if ; inline {

[Factor-talk] expm1 function missing

2019-11-03 Thread Sanjay Jain via Factor-talk
I was going through the list of math functions. I found log1+ (ln(1+x)) but did not find its counterpart e^x - 1 which is equally important for precision with small x. Kindly clarify and provide. Sanjay Jain ___ Factor-talk mailing list