improve typing in some hash() definitions
fix hash(BigFloat) not to overflow in converting chunks to float64