-
Notifications
You must be signed in to change notification settings - Fork 1
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
42.expmod(-1,1) hangs #6053
Comments
From @lizmatThe combination of parameters -1,1 like this, causes nqp::expmod_I to hang. Assume this is a MoarVM issue, as this does not appear to be an issue on MoarVM. Spotted by Dana Jacobsen++ |
From @geekosaurOn Fri, Feb 3, 2017 at 4:33 PM, Elizabeth Mattijsen <
...which of those was supposed to be something else? -- |
The RT System itself - Status changed from 'new' to 'open' |
From @lizmat
The second: there’s no problem on the JVM. Good catch! Note to self: do not do bugreports after having been to Delirium in Brussels. :-) Liz |
1 similar comment
From @lizmat
The second: there’s no problem on the JVM. Good catch! Note to self: do not do bugreports after having been to Delirium in Brussels. :-) Liz |
From @timoIt seems like we literally just pass the values into libtommath's mp_exptmod. It then just infinitely loops around inside of fast_mp_invmod. Perhaps we can see if a newer version of libtommath changed something about that and perhaps fixed our problem? |
From @timoThere's a github issue that relates to this. Applying this change to our tommath makes expmod(42, -1, 1) terminate successfully. |
From @AlexDanielThis was resolved in this commit trio: 「testneeded」 On 2017-02-03 15:04:00, timo wrote:
|
From @zoffixznetOn Wed, 04 Oct 2017 22:20:49 -0700, alex.jakimenko@gmail.com wrote:
Tests added Raku/roast@064707a320 They showed this issue still exists for other combinations, such as: <Zoffix__> m: say 42.expmod(-1,7) |
Migrated from rt.perl.org#130713 (status was 'open')
Searchable as RT130713$
The text was updated successfully, but these errors were encountered: