Median

0.5

I think the median for Integer type should be a Double.

/ is separately defined in BinaryInteger and FloatingPoint. So median on collection need to be separately define on Integer type and FloatingPoint type.