test for Infinite numbers