The right approach is to make `DunnettResult` generic on the dtype of `statistic` (`float64 | longdouble`). Note that `pvalue` is always `float64`
The right approach is to make
DunnettResultgeneric on the dtype ofstatistic(float64 | longdouble). Note thatpvalueis alwaysfloat64