I have 2 functions: $f(x)$ and $g(x)$. Both of them range in $[0,1]$.
Is there some way to define a $h(x)$ that efficiently takes the greater one of $h(x)$ and $g(x)$, i.e. $h(x) = \max \{ f(x),g(x) \}$, but without using $\max$?
If there is no exact solution, an approximate $h(x)$ is also fine.