Use +inf.0 instead of +inf.