Commit e44ef91
fix(tests): cbrt oracle parity is <=1 ulp — DuckDB's own wheels disagree cross-platform (CI)
CI (Linux) failed the two cbrt tests by exactly one ulp: the Linux
DuckDB wheel's bundled std::cbrt returns 3.0000000000000004 for
cbrt(27) while the Windows wheel (and Rust on both platforms) return
3.0. The oracle itself is platform-inconsistent for this one function,
so repr-exact parity is unpinnable: duck_check_ulp compares floats
within 1 ulp (positional, no joins), signed zeros still enforced, and
the pins spec records the exception — the only one in the wave.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 473c567 commit e44ef91
2 files changed
Lines changed: 45 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
48 | 53 | | |
49 | 54 | | |
50 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
894 | 894 | | |
895 | 895 | | |
896 | 896 | | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
897 | 934 | | |
898 | 935 | | |
899 | | - | |
| 936 | + | |
900 | 937 | | |
901 | 938 | | |
902 | 939 | | |
| |||
905 | 942 | | |
906 | 943 | | |
907 | 944 | | |
| 945 | + | |
908 | 946 | | |
909 | | - | |
| 947 | + | |
910 | 948 | | |
911 | 949 | | |
912 | 950 | | |
| |||
0 commit comments