Can you make this `float('inf')`, so we can get rid of `numpy` in this module?