Hey,
If you download the code again you should find your problem gone. I hadn't realized exponents of 0 are not just used for encoding 0, but also for small numbers. I removed the underflow test and just return 0 for really tiny numbers -- not sure if this is always proper, but it seems to be a common approach.
Regards, Marijn