use multiple precision by default ?

asked 2017-03-23 11:28:43 -0500

screened00 gravatar image

I don't like that QQ(2.3)^QQ(.51) thing. It's ugly. I just want to write the numbers as they are without any conditions attached. I use mpmath, since it is an external module in python the same problem persists.

I hope sagemath has an internal built-in way to do it, without extra syntax. I don't like that annoying R.() thing every time I have to write.

edit retag flag offensive close merge delete

Comments

1

I am not sure to understand your question. Which input would you like to transform into which output ?

tmonteil gravatar imagetmonteil ( 2017-03-23 17:57:47 -0500 )edit

@tmonteil: I believe that he is doing something like QQ = RealField(1000) to have numbers with 1000 bits of precision and he does not want to keep on writing everything inside QQ(). It would be nice to have a 'default' precision command that one sets up in the beginning and forget about it

Mafra gravatar imageMafra ( 2017-03-28 17:25:38 -0500 )edit