Exponential Minus One

You can save typing by using expm1($x) instead of exp($x) - 1. Also, you might have to take care of differences, as both results might be slighltly different depending on the OS you’re running it on : Debian is OK, but MacOS says it’s different.

../_images/exp_minus_one.png