Skip to content

Commit

Permalink
Update expxx comment
Browse files Browse the repository at this point in the history
  • Loading branch information
aherbert committed Aug 29, 2023
1 parent fe58deb commit 1856d19
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,7 @@ private static double expxx(double a, double b) {
// The round-off b is limited to ~ 0.5 * ulp(746) ~ 5.68e-14
// and we can use an approximation for expm1 (x/1! + x^2/2! + ...)
// The second term is required for the expm1 result but the
// bits are not significant to change the product with exp(a)
// bits are not significant to change the following sum with exp(a)

final double ea = Math.exp(a);
// b ~ expm1(b)
Expand Down

0 comments on commit 1856d19

Please sign in to comment.