Gerhard Niklasch on Sat, 1 Apr 2000 01:17:24 +0200 (MET DST)

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Precision

In response to
> Message-Id: <>
> Date: Fri, 31 Mar 2000 15:57:48 -0600
> From: Fernando Rodriguez-Villegas <>
>  We'd like to have a way of knowing what is the current precision on a
>  given GP session (in order to know when to stop an algorithm). We
>  found that 
>   precision(sqrt(1))
>  does it, but shouldn't there be a direct way of doing this? (\p
>  returns a string with the information and not a number).

default(realprecision,,1)  should do the trick  (type ?default at
the gp prompt to have gp explain the third argument :) .

Enjoy, Gerhard