Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Machine precision parameters
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ken  
View profile  
 More options Apr 10 2012, 7:51 pm
From: Ken <ken.al...@sbcglobal.net>
Date: Tue, 10 Apr 2012 16:51:05 -0700 (PDT)
Local: Tues, Apr 10 2012 7:51 pm
Subject: Machine precision parameters
Is there a way to get various machine precision parameters for the
currrent precision in mpmath?  I know these parameters can be queried
for standard precision Python using the sys module.  For mpmath, I
know you can get eps, digits, and precision, but is there a way to get
other values like Huge, Tiny, Minexponent, Maxexponent, etc.?

Ken


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Vinzent Steinberg  
View profile  
 More options Apr 12 2012, 4:23 am
From: Vinzent Steinberg <vinzent.steinb...@googlemail.com>
Date: Thu, 12 Apr 2012 01:23:30 -0700 (PDT)
Local: Thurs, Apr 12 2012 4:23 am
Subject: Re: Machine precision parameters
On 10 Apr., 19:51, Ken <ken.al...@sbcglobal.net> wrote:

> Is there a way to get various machine precision parameters for the
> currrent precision in mpmath?  I know these parameters can be queried
> for standard precision Python using the sys module.  For mpmath, I
> know you can get eps, digits, and precision, but is there a way to get
> other values like Huge, Tiny, Minexponent, Maxexponent, etc.?

Please note that exponents in mpmath are Python (or GMP) longs, which
means they are basically unlimited in size. The precision only affects
the mantissa. Because of this, values like Minexponent don't make
sense.

I hope this helps,
Vinzent


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »