mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > YAFU

Reply
 
Thread Tools
Old 2015-05-17, 02:36   #1
storflyt32
 
Feb 2013

449 Posts
Default 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?

Last fiddled with by storflyt32 on 2015-05-17 at 02:39
storflyt32 is offline   Reply With Quote
Old 2015-06-29, 02:49   #2
storflyt32
 
Feb 2013

449 Posts
Default

Found a small bug.

help isprime

>> help isprime

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

description:
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".

https://en.wikipedia.org/wiki/Probability_theory

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.

Last fiddled with by storflyt32 on 2015-06-29 at 03:12
storflyt32 is offline   Reply With Quote
Old 2015-06-29, 05:19   #3
storflyt32
 
Feb 2013

449 Posts
Default

Sorry for the double line.
storflyt32 is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Yafu bsquared YAFU 1276 2019-01-12 04:46
Running YAFU via Aliqueit doesn't find yafu.ini EdH YAFU 8 2018-03-14 17:22
YAFU-1.34 bsquared YAFU 119 2015-11-05 16:24
yafu-1.33 bsquared YAFU 12 2012-11-08 04:12
yafu-1.32.1 bsquared YAFU 21 2012-09-04 19:44

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

Sat Nov 28 03:08:43 UTC 2020 up 79 days, 19 mins, 3 users, load averages: 1.89, 1.39, 1.20

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

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.