python decimal library dmath.py v0.3 released
Mark H. Harris
harrismh777 at gmail.com
Mon Mar 3 17:42:38 EST 2014
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 function,
> so, logically, that's how it should be implemented in your
> package if you think it needs to have a fact function (which I'm not sure of).
hi Wolfgang, you are absolutely right. I see what you're getting at
now. I've stuffed something into the library that really does not
belong in that library; it was just convenient for me. I get that.
marcus
More information about the Python-list
mailing list