

@classdef.method('/', other='float')
def method_div(self, space, other):
    if (other == 0.0):
        if (self.floatvalue == 0.0):
            return space.newfloat(NAN)
        else:
            inf = math.copysign(INFINITY, other)
            if (self.floatvalue < 0.0):
                return space.newfloat((- inf))
            else:
                return space.newfloat(inf)
    else:
        return space.newfloat((self.floatvalue / space))

dataset/ETHPy150Open topazproject/topaz/topaz/objects/floatobject.py W_FloatObject.method_div/VarMisuse@122/147 `other`->`space`