Add support for checking for isinf().