Log of /trunk/tree/tree/inc/TSelectorList.h
Parent Directory
Revision
20154 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Oct 1 14:20:05 2007 UTC (7 years, 3 months ago) by
brun
Original Path:
trunk/tree/inc/TSelectorList.h
File length: 2190 byte(s)
Diff to
previous 19826
Extend the functionality of Double32_t as explained below:
// The range specifier has the general format: [xmin,xmax] or [xmin,xmax,nbits]
// [0,1]
// [-10,100];
// [-pi,pi], [-pi/2,pi/4],[-2pi,2*pi]
// [-10,100,16]
// [0,0,8]
// if nbits is not specified, or nbits <2 or nbits>32 it is set to 32
// if (xmin==0 and xmax==0 and nbits <=16) the double word will be converted
// to a float and its mantissa truncated to nbits significative bits.
//
// IMPORTANT NOTE
// --------------
// Lets assume an original variable double x:
// When using the format [0,0,8] (ie range not specified) you get the best
// relative precision when storing and reading back the truncated x, say xt.
// The variance of (x-xt)/x will be better than when specifying a range
// for the same number of bits. However the precision relative to the
// range (x-xt)/(xmax-xmin) will be worst, and vice-versa.
// The format [0,0,8] is also interesting when the range of x is infinite
// or unknown.
Revision
13158 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Added
Tue Nov 8 17:22:09 2005 UTC (9 years, 2 months ago) by
rdm
Original Path:
trunk/tree/inc/TSelectorList.h
File length: 2199 byte(s)
for the output list in the TSelector use the new TSelectorList class.
This special TList derived class overrides only the different TList Add()
methods. For objects having a SetDirectory(TDirectory*) it calls
SetDirectory(0) to dis-associate them from any file or directory.
It also checks if the object name is unique (required for merging) and if
not issues an error.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.