BUG: Undo result type change of quantile/percentile but keep q precision (#30601) by charris · Pull Request #30623 · numpy/numpy
added 2 commits
January 9, 2026 15:25Defer cast to input type to the end of the computation by passing through the `weak_q` information. This fixes numpygh-30586, but I am not sure it is great to backport. Although, compared to the other PR it should just align the nan-functions fully and otherwise revert anything that isn't just a precision fix.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters