Allow point-ranges on floating point inf (#95799)
Fixes https://github.com/pytorch/pytorch/issues/95797
Signed-off-by: Edward Z. Yang <ezyang@meta.com>
Pull Request resolved: https://github.com/pytorch/pytorch/pull/95799
Approved by: https://github.com/eellison