Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #70774
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2014-04-30 05:13 -0700 |
| References | <973d2677-03c6-464a-8c88-f07282806468@googlegroups.com> <53607060$0$29965$c3e8da3$5496439d@news.astraweb.com> |
| Message-ID | <d5b3408a-8b2b-4769-b790-ca9164f00191@googlegroups.com> (permalink) |
| Subject | Re: Bug in Decimal?? |
| From | pleasedontspam@isp.com |
On Tuesday, April 29, 2014 11:39:12 PM UTC-4, Steven D'Aprano wrote:
> On Tue, 29 Apr 2014 19:37:17 -0700, pleasedontspam wrote:
>
>
>
> > from decimal import *
>
> > getcontext().prec=2016
>
> > one=Decimal(1)
>
> > number=Decimal('1e-1007')
>
> > partial=(one+number)/(one-number)
>
> > final.ln()
>
>
>
> What's final? Did you mean partial?
I see what you mean now. Sorry, I meant
final=partial.ln()
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Bug in Decimal?? pleasedontspam@isp.com - 2014-04-29 19:37 -0700
Re: Bug in Decimal?? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-04-30 03:39 +0000
Re: Bug in Decimal?? pleasedontspam@isp.com - 2014-04-30 05:01 -0700
Re: Bug in Decimal?? pleasedontspam@isp.com - 2014-04-30 05:13 -0700
Re: Bug in Decimal?? Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2014-04-30 19:59 +1200
Re: Bug in Decimal?? Mark Dickinson <mdickinson@enthought.com> - 2014-05-04 10:53 +0000
Re: Bug in Decimal?? pleasedontspam@isp.com - 2014-05-15 13:45 -0700
Re: Bug in Decimal?? Mark H Harris <harrismh777@gmail.com> - 2014-05-15 16:26 -0500
Re: Bug in Decimal?? Mark Dickinson <mdickinson@enthought.com> - 2014-05-19 16:10 +0000
csiph-web