[sage-devel] Re: Strange behaviour of sqrt() in sage-4.0

2009-05-31 Thread jyr
On May 31, 10:43 pm, John H Palmieri wrote: > > Now see also . > >   John Great, this also appears to work for the example: sage: sqrt(pi,prec=100) 1.7724538509055160272981674833 thanks, Jens --~--~-~--~~~---~--~

[sage-devel] Re: Strange behaviour of sqrt() in sage-4.0

2009-05-31 Thread John H Palmieri
On May 31, 2:15 pm, William Stein wrote: > On Sun, May 31, 2009 at 6:28 AM, jyr wrote: > > > Hi, > > > There is something strange going on with the simple sqrt() function: > > > sage: sqrt(2) > > sqrt(2) > > sage: sqrt(2.0) > > 1.41421356237310 > > sage: sqrt(2,prec=100) > > 1.414213562373095048

[sage-devel] Re: Strange behaviour of sqrt() in sage-4.0

2009-05-31 Thread William Stein
On Sun, May 31, 2009 at 6:28 AM, jyr wrote: > > Hi, > > There is something strange going on with the simple sqrt() function: > > sage: sqrt(2) > sqrt(2) > sage: sqrt(2.0) > 1.41421356237310 > sage: sqrt(2,prec=100) > 1.4142135623730950488016887242 > > but: > > sage: sqrt(2.0,prec=100) > -

[sage-devel] Re: Strange behaviour of sqrt() in sage-4.0

2009-05-31 Thread John H Palmieri
On May 31, 6:28 am, jyr wrote: > Hi, > > There is something strange going on with the simple sqrt() function: > > sage: sqrt(2) > sqrt(2) > sage: sqrt(2.0) > 1.41421356237310 > sage: sqrt(2,prec=100) > 1.4142135623730950488016887242 > > but: > > sage: sqrt(2.0,prec=100) > --