When alpha is <1 here, the first part returns `False` and `inf` is returned. Otherwise it becomes `True` and is treated as 1 by the expression. It works.