Use double for softcounting as float is too small
commitf65986176ab6078b476148a23453c1e3a67404b2
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Tue, 28 Nov 2006 05:38:21 +0000 (28 12:38 +0700)
committerNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Tue, 28 Nov 2006 14:25:14 +0000 (28 21:25 +0700)
tree61d0466bb64e656c54e00e2ce3c1c67bbd90c5fd
parent33a87268518ef502753a54acd1b0831d0e1c25ad
Use double for softcounting as float is too small

Some values reached 1e-47 which seems too large for float
Also added some checking to make sure we get noticed if
some values are overflowed
utils/sc-train.cpp
utils/softcount.cpp
utils/softcount.h