shouldn't there also be a case for `Inf`?