in reply to Very small numbers
If your numbers are so small that they are causing arithmetic underflow of your floating point represenentation, then you need to be more clever in how you deal with them. A general technique is to work with the log of a very small number, rather than the number itself. Then multiplications become additions, etc.
Another approach is derive a perturbative expansion of your probabilitiy distribution for very small numbers and use that directly.
-Mark
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Very small numbers
by Win (Novice) on Feb 10, 2004 at 10:36 UTC | |
by Win (Novice) on Feb 10, 2004 at 10:52 UTC |