When filling a CWNtuple and using a 24 to 30 bit
packing of a real, for each entry equal to the maximum value XMAX the value
actually stored into the CWN is XMIN. This only seems to happen with 24
to 30 bit packing. This error occurred with the CERNLIB 98 and 96a on HPUX
and IRIX (at least). The following example demonstrate the problem:
program test
*
parameter (nlimit=10000)
common /pawc/ hlim(nlimit)
common /nspace/ xvar
*
call hlimit(nlimit)
call hropen(20,'out', 'out.hbook','N',1024,ier)
call hbnt(1,'test', 'D')
call hbname(1, 'blcka', xvar, 'xvar:r*4:24:[0.,10.]')
*
do i = 0, 10
xvar = float(i)
call hfnt(1)
enddo
*
call hrout(1,icycle,' ')
call hrend('out')
close(20)
*
end
|