focus expression text field at startup -> version 1.2
[LeanCalc.git] / help / epsilon
1 NAME
2     epsilon - set or read the stored epsilon value
3
4 SYNOPSIS
5     epsilon([eps])
6
7 TYPES
8     eps         real number greater than 0 and less than 1
9
10     return      real number greater than 0 and less than 1
11
12 DESCRIPTION
13     Without args, epsilon() returns the current epsilon value.
14
15     With one arg, epsilon(eps) returns the current epsilon value
16     and sets the stored epsilon value to eps.
17
18     The stored epsilon value is used as default value for eps in
19     the functions appr(x, eps, rnd), sqrt(x, eps, rnd), etc.
20
21 EXAMPLE
22     > oldeps = epsilon(1e-6)
23     > print epsilon(), sqrt(2), epsilon(1e-4), sqrt(2), epsilon(oldeps)
24     > .000001 1.414214 .000001 1.4142 .0001
25
26 LIMITS
27     none
28
29 LINK LIBRARY
30     void setepsilon(NUMBER *eps)
31     NUMBER *_epsilon_
32
33 SEE ALSO
34     config
35