This software implements a log space numeric type. Hopefully it should enable you to do a lot of multiplication and division without over or underflowing.
To use it in your software, just include 'logreal.h'
Found a bug? Want to improve the code? Contact Brendan Hickey <bhickey.net>
This is free software released under the BSD license. If this license doesn't work for you, contact me.
See LICENSE for details.
Attemping to compute 0.5^1073 fails with a value (internal representation) of zero.