Implemented isNaN and isFinite in hosted