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 slightly different depending on the OS you’re running it on : Debian is OK, but MacOS says it’s different.
See Also¶
exp() minus one? [Try me]
expm1() versus exp() - 1 [Try me]