def __init__(self): """ TESTS:: sage: sage.rings.infinity.UnsignedInfinity() is sage.rings.infinity.UnsignedInfinity() is unsigned_infinity True """ InfinityElement.__init__(self, UnsignedInfinityRing)
def __init__(self): """ TESTS:: sage: sage.rings.infinity.PlusInfinity() is sage.rings.infinity.PlusInfinity() is oo True """ InfinityElement.__init__(self, InfinityRing)
def __init__(self): """ Initialize ``self``. TESTS:: sage: sage.rings.infinity.MinusInfinity() is sage.rings.infinity.MinusInfinity() is -oo True """ InfinityElement.__init__(self, InfinityRing)