On Jul 19, 5:11?pm, Zentrader <[EMAIL PROTECTED]> wrote:
> On Jul 17, 2:13 pm, "Dee Asbury" <[EMAIL PROTECTED]> wrote:
>
> > In multiplying a value of xe^-325 with ye^-4, Python is returning zero. How
> > do I get it to give me back my tiny value?
>
> > Thanks!
> > Dee
>
> Also, Python's decimal cl
On Jul 17, 2:13 pm, "Dee Asbury" <[EMAIL PROTECTED]> wrote:
> In multiplying a value of xe^-325 with ye^-4, Python is returning zero. How
> do I get it to give me back my tiny value?
>
> Thanks!
> Dee
Also, Python's decimal class allows theoretically unlimited
precision. I have extremely limited
On Jul 17, 4:13?pm, "Dee Asbury" <[EMAIL PROTECTED]> wrote:
> In multiplying a value of xe^-325 with ye^-4, Python is returning zero. How
> do I get it to give me back my tiny value?
Use the right tool for the right job.
>>> import gmpy
>>> help(gmpy.mpf)
Help on built-in function mpf in module g
On 18/07/2007 7:13 AM, Dee Asbury wrote:
> In multiplying a value of xe^-325 with ye^-4, Python is returning zero.
> How do I get it to give me back my tiny value?
>
It is difficult to understand what you mean by xe^-325 etc ... in
Python, ^ is the bitwise exclusive-or operator. The power opera
Dee Asbury wrote:
> In multiplying a value of xe^-325 with ye^-4, Python is returning zero. How
> do I get it to give me back my tiny value?
>
> Thanks!
> Dee
>
>
>
Of course, Python is doing no such thing. The floating point
arithmetic hardware on your machine is doing the multiplication a
In multiplying a value of xe^-325 with ye^-4, Python is returning zero. How
do I get it to give me back my tiny value?
Thanks!
Dee
"The most exciting phrase to hear in science, the one that
heralds new discoveries, is not 'Eureka!' but 'That's funny...'"
- Isaac Asimov
--
http://mai