示例#1
0
 def __setstate__(self, val):
     self._mpc_ = from_pickable(val[0]), from_pickable(val[1])
示例#2
0
 def __setstate__(self, val):
     self._mpc_ = from_pickable(val[0]), from_pickable(val[1])
示例#3
0
    def __setstate__(self, val): self._mpf_ = from_pickable(val)

    def __repr__(s): return "mpf('%s')" % to_str(s._mpf_, repr_dps(mp.prec))
示例#4
0
    def __setstate__(self, val): self._mpf_ = from_pickable(val)

    def __repr__(s): return "mpf('%s')" % to_str(s._mpf_, repr_dps(mp.prec))