use multiple precision by default ?

asked 2017-03-23 17:28:43 +0200

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



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

tmonteil gravatar imagetmonteil ( 2017-03-23 23:57:47 +0200 )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-29 00:25:38 +0200 )edit