- fixed implementation of isinf