Hacker News new | ask | show | jobs
by aesthesia 41 days ago
It maps (-inf, inf) to (0, inf) in about as nice a way as you could expect (addition turns into multiplication). When you want to constrain a value to be positive, parameterizing it with exp is usually a good option.
1 comments

And importantly it's got nice properties like being differentiable and monotonic, unlike eg. taking |x|.