Mercurial > hg > octave-lyh
annotate liboctave/Quad-opts.in @ 11523:fd0a3ac60b0e
update copyright notices
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 14 Jan 2011 05:47:45 -0500 |
parents | 89f4d7e294cc |
children | 16cca721117b |
rev | line source |
---|---|
11523 | 1 # Copyright (C) 2002-2011 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. | |
10840 | 25 |
4051 | 26 END_DOC_ITEM |
3998 | 27 TYPE = "double" |
28 INIT_VALUE = "::sqrt (DBL_EPSILON)" | |
29 SET_EXPR = "val" | |
30 END_OPTION | |
31 | |
32 OPTION | |
33 NAME = "relative tolerance" | |
4051 | 34 DOC_ITEM |
10840 | 35 Non-negative relative tolerance. If the absolute tolerance is zero, |
4051 | 36 the relative tolerance must be greater than or equal to |
37 @code{max (50*eps, 0.5e-28)}. | |
10840 | 38 |
4051 | 39 END_DOC_ITEM |
3998 | 40 TYPE = "double" |
41 INIT_VALUE = "::sqrt (DBL_EPSILON)" | |
42 SET_EXPR = "val" | |
43 END_OPTION | |
7805
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
44 |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
45 OPTION |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
46 NAME = "single precision absolute tolerance" |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
47 DOC_ITEM |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
48 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
|
49 error test. |
10840 | 50 |
7805
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
51 END_DOC_ITEM |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
52 TYPE = "float" |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
53 INIT_VALUE = "::sqrt (FLT_EPSILON)" |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
54 SET_EXPR = "val" |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
55 END_OPTION |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
56 |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
57 OPTION |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
58 NAME = "single precision relative tolerance" |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
59 DOC_ITEM |
10840 | 60 Non-negative relative tolerance for single precision. If the absolute |
7805
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
61 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
|
62 @code{max (50*eps, 0.5e-28)}. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
63 END_DOC_ITEM |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
64 TYPE = "float" |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
65 INIT_VALUE = "::sqrt (FLT_EPSILON)" |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
66 SET_EXPR = "val" |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
67 END_OPTION |