-
Notifications
You must be signed in to change notification settings - Fork 4k
ARROW-10797: [C++] Vendor and use PCG random generator library #8879
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
4661fe0 to
54e008c
Compare
d4608a9 to
356c300
Compare
2557213 to
f7b1147
Compare
|
This exposes a small precision issue in the variance kernel tests in MinGW32 on 32-bit floats (because of rounding issues perhaps?): According to Numpy, the two float64 values differ by 5 ULPs: >>> a
1011966660.249961
>>> b
1011966660.2499604
>>> np.testing.assert_array_max_ulp(a, b)
Traceback (most recent call last):
File "<ipython-input-15-48fada135e2b>", line 1, in <module>
np.testing.assert_array_max_ulp(a, b)
File "/home/antoine/miniconda3/envs/pyarrow/lib/python3.7/site-packages/numpy/testing/_private/utils.py", line 1643, in assert_array_max_ulp
(maxulp, np.max(ret)))
AssertionError: Arrays are not almost equal up to 1 ULP (max difference is 5 ULP) |
|
Should be the MinGW32 rounding issue we met with many times before. |
|
Ok, I added a skip on MinGW32. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1. CI failures looks not related.
|
@github-actions crossbow submit -g nightly |
|
Revision: c62dc304163a68844e76217da6f5ca4555da34bb Submitted crossbow builds: ursacomputing/crossbow @ actions-341 |
|
CentOS error may be caused by gcc-4.8 build failure from earlier pr. |
No description provided.