Special case Inf in sprintf.