Example #1
0
 def _read_from_longdouble(self, cdata):
     lvalue = misc.read_raw_longdouble_data(cdata)
     value = rffi.cast(lltype.Float, lvalue)
     return value
Example #2
0
 def _copy_longdouble(self, cdatasrc, cdatadst):
     lvalue = misc.read_raw_longdouble_data(cdatasrc)
     misc.write_raw_longdouble_data(cdatadst, lvalue)
Example #3
0
 def extra_repr(self, cdata):
     lvalue = misc.read_raw_longdouble_data(cdata)
     return misc.longdouble2str(lvalue)