-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
[WIP] enable randn(::BigFloat) and randexp(::BigFloat) (implemented in MPFR) #35111
base: master
Are you sure you want to change the base?
Conversation
34ef761
to
9522355
Compare
This currently doesn't support immutable RNGs. I tried the approach of wrapping an immutable RNG inside a mutable one, but this segfaults. Ideas welcome :) |
Would be nice to revive this and get it done. |
0d7b837
to
96804f6
Compare
This is now updated. It doesn't segfault anymore with immutable RNGs, but I had to add a special case for
I don't understand this error of course... This also means that the segfault would probably occur with custom RNGs which wrap a |
Closes #17629.