On Monday, March 3, 2014 7:46:38 PM UTC-6, Mark H. Harris wrote:
> On Monday, March 3, 2014 5:34:30 AM UTC-6, Mark H. Harris wrote:
>
> > https://code.google.com/p/pythondecimallibrary/
>
>https://pypi.python.org/pypi/pdeclib/0.3
Greetings, just a minor update here for version testing and po
On Tuesday, March 4, 2014 3:35:48 PM UTC-6, Stefan Krah wrote:
> http://www.bytereef.org/mpdecimal/quickstart.html#factorial-in-pure-python
> Be sure to set MAX_EMAX and MIN_EMIN, that's missing in the example.
> http://www.bytereef.org/mpdecimal/benchmarks.html#arbitrary-precision-libraries
> S
[I found this via the python-ideas thread]
Wolfgang Maier biologie.uni-freiburg.de> writes:
> math.factorial is accurate and faster than your pure-Python function,
especially for large numbers.
It is slower for huge numbers than decimal if you use this
Python function:
http://www.bytereef.org/
On Monday, March 3, 2014 5:34:30 AM UTC-6, Mark H. Harris wrote:
> https://code.google.com/p/pythondecimallibrary/
I released my pdeclib module this afternoon on PyPI here:
https://pypi.python.org/pypi/pdeclib/0.3
The tarball.gz may be downloaded and installed with:
pip install pdeclib
On Monday, March 3, 2014 4:44:27 PM UTC-6, Wolfgang Maier wrote:
> decimal can handle BIGNUMS fairly well, you just need to increase context
> Emax. Have you ever tried to calculate stuff with ints as big as MAX_EMAX
> (10**99) or even close to it and still had a responsive
> sy
On Monday, March 3, 2014 4:15:39 PM UTC-6, Wolfgang Maier wrote:
> Well, that may be your use-case, but then math.factorial is for you.
> On the other hand, you may be interested in getting
> context-rounded factorials and rounding to context
> precision is what you'd expect from a Decimal func
On Monday, March 3, 2014 10:18:37 PM UTC+1, Mark H. Harris wrote:
> On Monday, March 3, 2014 2:03:19 PM UTC-6, Mark H. Harris wrote:
>
> Wolfgang, answer is not so much, in fact, not at all.
> But it is an interesting question for me; where I am
> continuing to learn the limits of Decimal, and
On Monday, March 3, 2014 9:03:19 PM UTC+1, Mark H. Harris wrote:
> On Monday, March 3, 2014 11:23:13 AM UTC-6, Wolfgang Maier wrote:
> > def fact(x):
> > """ fact(x)factorial{x} int x > 0
> >
> > return +Decimal(math.factorial(x)
> > to make it return a Decimal rounded to co
On Monday, March 3, 2014 3:18:37 PM UTC-6, Mark H. Harris wrote:
Yeah, you can set Emin & Emax enormously large (or small), can set
off overflow, and set clamping.
I am needing a small utility (tk?) that will allow the context to be set
manually by the interactive user dynamically (for a particu
On Monday, March 3, 2014 2:03:19 PM UTC-6, Mark H. Harris wrote:
> On Monday, March 3, 2014 11:23:13 AM UTC-6, Wolfgang Maier wrote:
Wolfgang, answer is not so much, in fact, not at all.
But it is an interesting question for me; where I am
continuing to learn the limits of Decimal, and the
dec
On Monday, March 3, 2014 11:23:13 AM UTC-6, Wolfgang Maier wrote:
> def fact(x):
> """ fact(x)factorial{x} int x > 0
>
> return +Decimal(math.factorial(x))
> to make it return a Decimal rounded to context precision?
hi Wolfgang, I'm not sure. We're doing some things wit
Am Montag, 3. März 2014 12:34:30 UTC+1 schrieb Mark H. Harris:
> hi folks,
>
>
>
> Python Decimal Library dmath.py v0.3 Released
>
>
>
> https://code.google.com/p/pythondecimallibrary/
>
>
>
> This code provides the C accelerated decimal modu
On Monday, March 3, 2014 10:44:16 AM UTC-6, Oscar Benjamin wrote:
> Is it on PyPI though? I was referring to a PyPI name so that people
> could install it with "pip install pdeclib"
> Oscar
hi Oscar, I'm sorry, I completely missed the point of your question. No its not
on PyPI, but I don't mind
On 3 March 2014 15:22, Mark H. Harris wrote:
> On Monday, March 3, 2014 7:34:40 AM UTC-6, Oscar Benjamin wrote:
>> On 3 March 2014 11:34, Mark H. Harris wrote:
>>
>> Is this available on PyPI?
>
> Python3.3 Decimal Library v0.3 is Released here:
>
> https://code.google.com/p/pythondecimallibra
On Monday, March 3, 2014 7:34:40 AM UTC-6, Oscar Benjamin wrote:
> On 3 March 2014 11:34, Mark H. Harris wrote:
>
> Is this available on PyPI? It seems there already is a "dmath" package
> on PyPI that was written by someone else some time ago so you might
> need to use a different name:
> Osc
On Monday, March 3, 2014 7:34:40 AM UTC-6, Oscar Benjamin wrote:
> Python Decimal Library dmathlib.py v0.3 Released
> https://code.google.com/p/pythondecimallibrary/
> Is this available on PyPI? It seems there already is a "dmath" package
> on PyPI that was written by someone else some time ago
On 3 March 2014 11:34, Mark H. Harris wrote:
> hi folks,
>
> Python Decimal Library dmath.py v0.3 Released
>
> https://code.google.com/p/pythondecimallibrary/
Hi Mark,
Is this available on PyPI? It seems there already is a "dmath" package
on PyPI that was written by s
On Monday, March 3, 2014 5:34:30 AM UTC-6, Mark H. Harris wrote:
> hi folks,
Terry, I posted this mod as an idea on python-ideas, as you suggested.
Also, I made the additional suggestion that decimal floating point be
considered as the primary floating point type for python4.x, with an
optional
hi folks,
Python Decimal Library dmath.py v0.3 Released
https://code.google.com/p/pythondecimallibrary/
This code provides the C accelerated decimal module with
scientific/transcendental functions for arbitrary precision.
I have also included pilib.py which is a PI library of historic
19 matches
Mail list logo