The point-point strategy and the point-segment strategy return double for all fundamental number types.
I would find it interesting to have an example where the return type is not double. Such an example would be a point and a box with integers coordinates.