Skip to content

Tweak limited exp

This merge request avoids overflows during the computation of the limited exponential function, and adds limited_exp_deriv(), which returns a derivative consistent to limited_exp(). Performance does not change noticeably.

Merge request reports

Loading