Re: [sage-support] Very basic questions - Number of digits in floats

2014-09-10 Thread Christophe Bal
Thanks for all !!! Christophe BAL 2014-09-10 17:38 GMT+02:00 William A Stein : > On Wed, Sep 10, 2014 at 8:24 AM, Jeroen Demeyer > wrote: > > On 2014-09-10 17:18, William A Stein wrote: > >> > >> RR is pre-defined to be > >> RealField(53), and overwriting that might cause confusion. > > > > How

Re: [sage-support] Very basic questions - Number of digits in floats

2014-09-10 Thread William A Stein
On Wed, Sep 10, 2014 at 8:24 AM, Jeroen Demeyer wrote: > On 2014-09-10 17:18, William A Stein wrote: >> >> RR is pre-defined to be >> RealField(53), and overwriting that might cause confusion. > > How that? Nothing in Sage uses the "RR" global (and if it does, that's a > bug). Here is how it coul

Re: [sage-support] Very basic questions - Number of digits in floats

2014-09-10 Thread Jeroen Demeyer
On 2014-09-10 17:18, William A Stein wrote: RR is pre-defined to be RealField(53), and overwriting that might cause confusion. How that? Nothing in Sage uses the "RR" global (and if it does, that's a bug). -- You received this message because you are subscribed to the Google Groups "sage-supp

Re: [sage-support] Very basic questions - Number of digits in floats

2014-09-10 Thread William A Stein
On Wed, Sep 10, 2014 at 8:09 AM, Jeroen Demeyer wrote: > On 2014-09-10 15:06, Christophe Bal wrote: >> >> Hello. >> >> I would to do two thinks. >> >> 1. Know the number of decimal digits that Sage uses in a program. >> 2. Choose the number of decimal digits displayed. > > > I believe the recomm

Re: [sage-support] Very basic questions - Number of digits in floats

2014-09-10 Thread Jeroen Demeyer
On 2014-09-10 15:06, Christophe Bal wrote: 1. Know the number of decimal digits that Sage uses in a program. The default is 53 bits, which is 15 to 16 decimal digits. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this g

Re: [sage-support] Very basic questions - Number of digits in floats

2014-09-10 Thread Jeroen Demeyer
On 2014-09-10 15:06, Christophe Bal wrote: Hello. I would to do two thinks. 1. Know the number of decimal digits that Sage uses in a program. 2. Choose the number of decimal digits displayed. I believe the recommended way to choose the precision is to do: RR = RealField(1000)# 1000 bit

[sage-support] Very basic questions - Number of digits in floats

2014-09-10 Thread Christophe Bal
Hello. I would to do two thinks. 1. Know the number of decimal digits that Sage uses in a program. 2. Choose the number of decimal digits displayed. Sorry for this unformal question. Christophe BAL -- You received this message because you are subscribed to the Google Groups "sage-suppo