tico,

(ignores all the hard feelings going back and fourth)

As far as your original problem goes, how do you intend to hold a fractional number in memory? PBP only handles integers (sad but true).

So you are limited to schemes such as working with your values scaled up by say 1,000, so 1/16 would be stored as 62 (1/16 * 1000 and truncated to an integer) and you can divide by 62 to see how many 1/16 pieces it has.