Re: [sympy] Ideas Page

2016-04-10 Thread Jason Moore
Sounds good, go for it! If you can organize or link to the scattered ideas on the rest of the wiki, all the better. Jason moorepants.info +01 530-601-9791 On Sun, Apr 10, 2016 at 5:14 PM, James Milam wrote: > Hi all, > > I was looking through the wiki for an ideas page

Re: [sympy] Sympy vs Numpy, better accuracy in precision?

2016-04-10 Thread Amy Valhausen
Hi, regarding the below, is it possible to increase precision for this past (15) ? Im a little bit confused are you saying that a float set to the default precision will not return the accurate result but specifying the precision will? Also you mentioned a non float expression will return

Re: [sympy] Sympy vs Numpy, better accuracy in precision?

2016-04-10 Thread Amy Valhausen
Hi Aaron, In tried ; import mpmath x = Float("1.4142", 950) x**6000%400 But got the same sort of error message again ; >>> x = Float("1.4142", 950) Traceback (most recent call last): File "", line 1, in NameError: name 'Float' is not defined Also, I thought I read recently that the float

Re: [sympy] Sympy vs Numpy, better accuracy in precision?

2016-04-10 Thread Amy Valhausen
Oscar you mentioned below finding the # of digits using log and the code ; In [1]: from sympy import mpmath In [2]: mpmath.mp.dps = 950 In [3]: mpmath.mpf('1.4142') ** 6000 % 400 How accurate of a return do you feel this will give? Are we losing any data, will the return be very accurate?

[sympy] Re: Sympy vs Numpy, better accuracy in precision?

2016-04-10 Thread Amy Valhausen
When using numpy Ive been using the code lines; > > import numpy > (np.longdouble(1.4142)** 6000 )%400 > > I am not sure how accurate the result is, and I have tried using other > methods too > but recently I found a post comparing sympy to numpy and it seems someone > is claiming that sympy can

Re: [sympy] Sympy vs Numpy, better accuracy in precision?

2016-04-10 Thread Amy Valhausen
Hi Aaron I tried ; import mpmath x = mpmath.mpf("1.4142") x**6000 % 400 but this returned "32" for me, not 272 like you got? Also when I tried ; >>> x = Float("1.4142", 100) I got this error message ? Traceback (most recent call last): File "", line 1, in NameError: name 'Float' is not

[sympy] Ideas Page

2016-04-10 Thread James Milam
Hi all, I was looking through the wiki for an ideas page where I could post some thoughts on a contribution idea that I do not have the time to implement. While looking, I found a couple of idea pages but they were very old and did not seem to be relevant. I was wondering if a general ideas

Re: [sympy] Arbitrary Precision Problem Persists

2016-04-10 Thread Oscar Benjamin
On 9 April 2016 at 19:56, Amy Valhausen wrote: > In the thread ; https://groups.google.com/forum/#!topic/sympy/eUfW6C_nHdI > > I was seeking feedback and help with the problem of type ; > > ( 1.414213562^6000) % 400) > > After reviewing all the excellent collaboration at

[sympy] Re: Arbitrary Precision Problem Persists

2016-04-10 Thread casevh
On Saturday, April 9, 2016 at 3:36:10 PM UTC-7, Amy Valhausen wrote: > > Hi Case, > > thanks for your reply - in the thread cited ; > https://groups.google.com/forum/#!topic/sympy/eUfW6C_nHdI > > The impression I get (please keep in mind Im a newbie), was that most > of the gentleman came to