[Raymond L. Buvel, on
http://calcrpnpy.sourceforge.net/clnumManual.html
]
>>> The clnum module handles this calculation very quickly:
>>>
>>> >>> from clnum import mpf
>>> >>> mpf("1e1") ** mpf("3.01")
>>> mpf('9.99932861e30099',26)
[Tim Peters]
>> That's probably good e
Tim Peters wrote:
> [Raymond L. Buvel, on
>http://calcrpnpy.sourceforge.net/clnumManual.html
> ]
>
>> The clnum module handles this calculation very quickly:
>>
>> >>> from clnum import mpf
>> >>> mpf("1e1") ** mpf("3.01")
>> mpf('9.99932861e30099',26)
>
>
> That's pr
[Raymond L. Buvel, on
http://calcrpnpy.sourceforge.net/clnumManual.html
]
> The clnum module handles this calculation very quickly:
>
> >>> from clnum import mpf
> >>> mpf("1e1") ** mpf("3.01")
> mpf('9.99932861e30099',26)
That's probably good enough for the OP's needs
Tim Peters wrote:
> The GNU GMP library (for which Python bindings are available) also
> supports "big floats", but their power operation is also restricted to
> integer powers and/or exact roots. This can be painful even to try;
> e.g.,
>
>>>> from gmpy import mpf
>>>> mpf("1e1") *
elventear wrote:
> Hi,
>
> I am the in the need to do some numerical calculations that involve
> real numbers that are larger than what the native float can handle.
>
> I've tried to use Decimal, but I've found one main obstacle that I
> don't know how to sort. I need to do exponentiation with re
Tim Peters wrote:
...
> Wait <0.3 wink>. Python's Decimal module intends to be a faithful
> implementation of IBM's proposed standard for decimal arithmetic:
>
> http://www2.hursley.ibm.com/decimal/
>
> Last December, ln, log10, exp, and exponentiation to non-integral
> powers were added to th
[elventear]
> I am the in the need to do some numerical calculations that involve
> real numbers that are larger than what the native float can handle.
>
> I've tried to use Decimal, but I've found one main obstacle that I
> don't know how to sort. I need to do exponentiation with real
> exponents,
Hi,
I am the in the need to do some numerical calculations that involve
real numbers that are larger than what the native float can handle.
I've tried to use Decimal, but I've found one main obstacle that I
don't know how to sort. I need to do exponentiation with real
exponents, but it seems that