Searched refs:create_decimal_from_float (Results 1 – 13 of 13) sorted by relevance
/aosp_15_r20/external/python/cpython2/Lib/test/ |
D | test_decimal.py | 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)),
|
/aosp_15_r20/external/python/cpython3/Lib/test/ |
D | test_decimal.py | 2674 context.create_decimal_from_float(math.pi), 2679 context.create_decimal_from_float(math.pi), 2685 context.create_decimal_from_float, 2688 self.assertEqual(repr(context.create_decimal_from_float(-0.0)), 2690 self.assertEqual(repr(context.create_decimal_from_float(1.0)), 2692 self.assertEqual(repr(context.create_decimal_from_float(10)), 3942 x = c.create_decimal_from_float(7.5) 3965 x = c.create_decimal_from_float(7.5)
|
/aosp_15_r20/external/python/cpython3/Doc/library/ |
D | decimal.rst | 1107 .. method:: create_decimal_from_float(f) 1117 >>> context.create_decimal_from_float(math.pi) 1120 >>> context.create_decimal_from_float(math.pi) 1665 or :meth:`~decimal.Context.create_decimal_from_float` do not set the flag.
|
/aosp_15_r20/external/python/cpython2/Doc/library/ |
D | decimal.rst | 1112 .. method:: create_decimal_from_float(f) 1122 >>> context.create_decimal_from_float(math.pi) 1125 >>> context.create_decimal_from_float(math.pi)
|
/aosp_15_r20/external/python/cpython2/Lib/ |
D | decimal.py | 3939 def create_decimal_from_float(self, f): member in Context
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/ |
D | _pydecimal.py | 4125 def create_decimal_from_float(self, f): member in Context
|
/aosp_15_r20/external/python/cpython3/Lib/ |
D | _pydecimal.py | 4125 def create_decimal_from_float(self, f): member in Context
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/ |
D | _pydecimal.py | 4125 def create_decimal_from_float(self, f): member in Context
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/ |
D | _pydecimal.py | 4125 def create_decimal_from_float(self, f): member in Context
|
/aosp_15_r20/prebuilts/build-tools/common/py3-stdlib/ |
H A D | _pydecimal.py | 4125 def create_decimal_from_float(self, f): member in Context
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/ |
D | _pydecimal.py | 4125 def create_decimal_from_float(self, f): member in Context
|
/aosp_15_r20/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7a1.rst | 4269 Added Decimal.from_float() and Context.create_decimal_from_float() to the
|
/aosp_15_r20/external/python/cpython3/Misc/ |
D | HISTORY | 15764 - Issue #4796: Added Decimal.from_float() and Context.create_decimal_from_float()
|