Added inf/nano handling to conversion to/from floating points