Simplify Is-inf function

https://github.com/tctcl/ballistic/pull/26