Mercurial > hg > octave-lyh
annotate liboctave/Quad-opts.in @ 8920:eb63fbe60fab
update copyright notices
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sat, 07 Mar 2009 10:41:27 -0500 |
parents | 62affb34e648 |
children | 89f4d7e294cc |
rev | line source |
---|---|
8920 | 1 # Copyright (C) 2002, 2008 John W. Eaton |
7017 | 2 # |
3 # This file is part of Octave. | |
4 # | |
5 # Octave is free software; you can redistribute it and/or modify it | |
6 # under the terms of the GNU General Public License as published by the | |
7 # Free Software Foundation; either version 3 of the License, or (at | |
8 # your option) any later version. | |
9 # | |
10 # Octave is distributed in the hope that it will be useful, but WITHOUT | |
11 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
12 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
13 # for more details. | |
14 # | |
15 # You should have received a copy of the GNU General Public License | |
16 # along with Octave; see the file COPYING. If not, see | |
17 # <http://www.gnu.org/licenses/>. | |
18 | |
3998 | 19 CLASS = "Quad" |
20 | |
21 OPTION | |
22 NAME = "absolute tolerance" | |
4051 | 23 DOC_ITEM |
24 Absolute tolerance; may be zero for pure relative error test. | |
25 END_DOC_ITEM | |
3998 | 26 TYPE = "double" |
27 INIT_VALUE = "::sqrt (DBL_EPSILON)" | |
28 SET_EXPR = "val" | |
29 END_OPTION | |
30 | |
31 OPTION | |
32 NAME = "relative tolerance" | |
4051 | 33 DOC_ITEM |
34 Nonnegative relative tolerance. If the absolute tolerance is zero, | |
35 the relative tolerance must be greater than or equal to | |
36 @code{max (50*eps, 0.5e-28)}. | |
37 END_DOC_ITEM | |
3998 | 38 TYPE = "double" |
39 INIT_VALUE = "::sqrt (DBL_EPSILON)" | |
40 SET_EXPR = "val" | |
41 END_OPTION | |
7805
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
42 |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
43 OPTION |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
44 NAME = "single precision absolute tolerance" |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
45 DOC_ITEM |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
46 Absolute tolerance for single precision; may be zero for pure relative |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
47 error test. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
48 END_DOC_ITEM |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
49 TYPE = "float" |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
50 INIT_VALUE = "::sqrt (FLT_EPSILON)" |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
51 SET_EXPR = "val" |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
52 END_OPTION |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
53 |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
54 OPTION |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
55 NAME = "single precision relative tolerance" |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
56 DOC_ITEM |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
57 Nonnegative relative tolerance for single precision. If the absolute |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
58 tolerance is zero, the relative tolerance must be greater than or equal to |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
59 @code{max (50*eps, 0.5e-28)}. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
60 END_DOC_ITEM |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
61 TYPE = "float" |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
62 INIT_VALUE = "::sqrt (FLT_EPSILON)" |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
63 SET_EXPR = "val" |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
64 END_OPTION |