Lines Matching full:decimal
20 "C decimal arithmetic module");
52 /* Decimal Object and Methods */
56 "Decimal(value=\"0\", context=None)\n--\n\n\
57 Construct a new Decimal object. 'value' can be an integer, string, tuple,\n\
58 or another Decimal object. If no value is given, return Decimal('0'). The\n\
75 Decimal.as_integer_ratio() -> (int, int)\n\
78 Decimal and with a positive denominator. The ratio is in lowest terms.\n\
85 of a Decimal instance is always canonical, so this operation returns its\n\
91 Compare self to other. Return a decimal value:\n\
93 a or b is a NaN ==> Decimal('NaN')\n\
94 a < b ==> Decimal('-1')\n\
95 a == b ==> Decimal('0')\n\
96 a > b ==> Decimal('1')\n\
108 gives a total ordering on Decimal instances. Two Decimal instances with\n\
112 >>> Decimal('12.0').compare_total(Decimal('12'))\n\
113 Decimal('-1')\n\
116 of this function is Decimal('0') if both operands have the same representation,\n\
117 Decimal('-1') if the first operand is lower in the total order than the second,\n\
118 and Decimal('1') if the first operand is higher in the total order than the\n\
160 >>> Decimal('2.3').copy_sign(Decimal('-1.5'))\n\
161 Decimal('-2.3')\n\
177 Class method that converts a float to a decimal number, exactly.\n\
179 Decimal.from_float(0.1) is not the same as Decimal('0.1').\n\
181 >>> Decimal.from_float(0.1)\n\
182 Decimal('0.1000000000000000055511151231257827021181583404541015625')\n\
183 >>> Decimal.from_float(float('nan'))\n\
184 Decimal('NaN')\n\
185 >>> Decimal.from_float(float('inf'))\n\
186 Decimal('Infinity')\n\
187 >>> Decimal.from_float(float('-inf'))\n\
188 Decimal('-Infinity')\n\
197 >>> Decimal(2).fma(3, 5)\n\
198 Decimal('11')\n\
205 a Decimal instance is always canonical, so this operation always returns\n\
278 Decimal instance. If the operand is a zero, then Decimal('-Infinity') is\n\
280 an infinity then Decimal('Infinity') is returned.\n\
352 converting any result equal to Decimal('0') to Decimal('0e0'). Used\n\
354 For example, Decimal('32.100') and Decimal('0.321000e+2') both normalize\n\
355 to the equivalent value Decimal('32.1').\n\
381 >>> Decimal('1.41421356').quantize(Decimal('1.000'))\n\
382 Decimal('1.414')\n\
400 Return Decimal(10), the radix (base) in which the Decimal class does\n\
463 which is a multiple of 3, so there are up to 3 digits left of the decimal\n\
464 place. For example, Decimal('123E+1') is converted to Decimal('1.23E+3').\n\
514 Apply self to Decimal x.\n\
535 Return a copy of Decimal x.\n\
540 Create a new Decimal instance from num, using self as the context. Unlike the\n\
541 Decimal constructor, this function observes the context limits.\n\
546 Create a new Decimal instance from float f. Unlike the Decimal.from_float()\n\