← 返回事件
持续讨论AI发版0.0

trunk/2b7e5c3ad10b8b7a1e5bda518a3199ce710c39de: Cover what the 1-D sort fast paths have to get right (#196000)

发生了什么

test_sort_1d_parallel only checked integral, ascending sort against a non-decreasing assertion - it never touched NaN placement, -0.0/0.0 equality, descending order, or the stable=True it already passed but never verified. Extends it over floating dtypes too, parametrized on descending/stable, with NaN (both signs), both zeros, and the infinities seeded into the input; checks NaN placement, monotonicity of the rest,…

摘要按规则整理自下方来源原文

为什么在扩散

来源