Esempio n. 1
0
    def __gt__(self, rhs):
        if isinstance(rhs, QuireN8E2C30):
            value = rhs.__q8_2_30
        else:
            value = unum.posit_to_value_8_2(rhs._PositN8E2__p8_2)

        return unum.__gt__(self.__q8_2_30, value)
Esempio n. 2
0
    def __gt__(self, rhs):
        if isinstance(rhs, QuireN8E1C14):
            value = rhs.__q8_1_14
        else:
            value = unum.posit_to_value_8_1(rhs._PositN8E1__p8_1)

        return unum.__gt__(self.__q8_1_14, value)
Esempio n. 3
0
    def __gt__(self, rhs):
        if isinstance(rhs, QuireN8E0C6):
            value = rhs.__q8_0_6
        else:
            value = unum.posit_to_value_8_0(rhs._PositN8E0__p8_0)

        return unum.__gt__(self.__q8_0_6, value)
Esempio n. 4
0
 def __gt__(self, rhs):
     return unum.__gt__(self.__p8_2, rhs.__p8_2)
Esempio n. 5
0
 def __gt__(self, rhs):
     return unum.__gt__(self.__p4_0, rhs.__p4_0)