Searched refs:create_decimal_from_float (Results 1 – 4 of 4) sorted by relevance
1748 context.create_decimal_from_float(math.pi),1753 context.create_decimal_from_float(math.pi),1759 context.create_decimal_from_float,1762 self.assertEqual(repr(context.create_decimal_from_float(-0.0)),1764 self.assertEqual(repr(context.create_decimal_from_float(1.0)),1766 self.assertEqual(repr(context.create_decimal_from_float(10)),
1112 .. method:: create_decimal_from_float(f)1122 >>> context.create_decimal_from_float(math.pi)1125 >>> context.create_decimal_from_float(math.pi)
3939 def create_decimal_from_float(self, f): member in Context
8574 Context.create_decimal_from_float() to the decimal module.