Add bitwise double/long conversion to calculator.

This is are convenience operations for
the reservoir data attachment that stores some floating
point values in the 'hits' of the nodes that are returned
in a query.