Usually I would think of a step function in terms of a piece wise definition:
$$U(x) = \begin{cases} 1 & x \ge a\\ 0 & x < a\end{cases}$$
Can I write it in a way that does not require a piece wise definition or logic statements? For example, you could write the absolute value function in a way that does not require conditional statements by defining $|x| = \sqrt{x^2}$. Similarly, you can get the min or max of two numbers without using logic operations by following: How to calculate Maximum or Minimum of two numbers without using if? I'm looking for the same idea but for the step function. Wikipedia has some continuous approximations, and also alternative definitions like the integral of a Dirac delta function: https://en.wikipedia.org/wiki/Heaviside_step_function, but I'm wondering if there is anything simpler?