On Wed, 04 Oct 2017 22:20:49 -0700, alex.jakime...@gmail.com wrote: > This was resolved in this commit trio: > https://github.com/rakudo/rakudo/commit/22f00cd72deaaaafbaeb1ad83187309854e33739 > https://github.com/perl6/nqp/commit/b083e3471a25bf376fa89b5ec53969b870eb6ac2 > https://github.com/MoarVM/MoarVM/commit/1288e7edde60b8c88afb85029dc089092db80168 > > 「testneeded」 > > On 2017-02-03 15:04:00, timo wrote: > > There's a github issue that relates to this. Applying this change to > > our tommath makes expmod(42, -1, 1) terminate successfully. > > > > https://github.com/libtom/libtommath/issues/67
Tests added https://github.com/perl6/roast/commit/064707a320 They showed this issue still exists for other combinations, such as: <Zoffix__> m: say 42.expmod(-1,7) <camelia> rakudo-moar 27131e: OUTPUT: «(timeout)»