-   YAFU (
-   -   Yafu bug. (

storflyt32 2015-05-17 02:36

Yafu bug.
If it was not mentioned already, but getting this error from time to time.

pm1: starting B1 = 150K, B2 = gmp-ecm default on CXXX
Assertion failed: (__builtin_constant_p (1UL) && (1UL) == 0 ? ((F[deg])->_mp_siz
e < 0 ? -1 : (F[deg])->_mp_size > 0) : __gmpz_cmp_ui (F[deg],1UL)) == 0, file pm
1fs2.c, line 1843

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

If I try one or more times, the error may go away. Some times it still persists.

Also Yafu-win32 may be better at factoring some larger numbers than Yafu-x64, which is not
the best or optimal solution.

Edit: Apparently I need to add a thread title now. How do I edit the thread title?

storflyt32 2015-06-29 02:49

Found a small bug.

help isprime

>> help isprime

searching for help on 'isprime'
usage: isprime(expression)

uses trial division followed by the rabin-miller probabalistic primalty
test to determine probable-primalty. The number of witnesses in the rabin-mille
r test
is configurable using the NUM_WITNESSES parameter. The default is 20.

Should it perhaps read "probabilistic" instead?

Definitely you spell it "probability".


Also better say "primality" and not "primalty".

Two different words here.

The reason for the assertion failure mentioned in the previous post is that some small numbers which are composite and being factors of large numbers are crashing the factorization of the whole number.

Better use ecm(ans), or sometimes ecm(ans,30) before attempting the factor command, which may be taking quite a while.

Also the ecm(ans) command may now take quite a while as well when trying to factorize a large number having no small factors in it, which is a nice feature.

storflyt32 2015-06-29 05:19

Sorry for the double line.

All times are UTC. The time now is 08:58.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.