Exemplo n.º 1
0
 def __ifloordiv__(self, other):
     import taichi as ti
     self.assign(ti.floordiv(self, other))
Exemplo n.º 2
0
 def __rfloordiv__(self, other):
     import taichi as ti
     return ti.floordiv(other, self)
Exemplo n.º 3
0
 def __ifloordiv__(self, other):
     _taichi_skip_traceback = 1
     self.assign(ti.floordiv(self, other))
     return self
Exemplo n.º 4
0
 def __rfloordiv__(self, other):
     _taichi_skip_traceback = 1
     return ti.floordiv(other, self)
Exemplo n.º 5
0
 def __floordiv__(self, other):
     import taichi as ti
     _taichi_skip_traceback = 1
     return ti.floordiv(self, other)