

@classdef.method('infinite?')
def method_infinity(self, space):
    if math.isinf(self.floatvalue):
        return space.newint(int(math.copysign(1, self.floatvalue)))
    return space.w_nil

dataset/ETHPy150Open topazproject/topaz/topaz/objects/floatobject.py W_FloatObject.method_infinity/original