![]() |
|
|
#364 |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
949710 Posts |
The new binary nailed all three. Thanks!
In the end, when all factors are reported, the binary lingers for a second and then says >> couldn't reallocate string when parsing Exit 255 It doesn't hurt (really), but what is it doing for that second? The command-line is # echo "siqs(732566077883908909845195639793682175206731)" | yafu -v Doesn't seem to "freeze" without -v. |
|
|
|
|
|
#365 | |
|
Bamboozled!
"πΊππ·π·π"
May 2003
Down not across
2·5,393 Posts |
Quote:
Code:
x[i+1] = (6364136223846793005*x[i] + 1442695040888963407) mod 2^64 Paul |
|
|
|
|
|
|
#366 | ||
|
"Ben"
Feb 2007
7×503 Posts |
Quote:
.Quote:
Everything works fine without the -v because the program is able to determine that there is something in the pipe, processes it, and exits. It gets confused with the -v because there is both something in the pipe and an input argument which causes it to open in interpreter mode. There is apparently a neverending stream of stuff coming out of an open pipe... .A workaround until I can fix this is to just use yafu "siqs(732566077883908909845195639793682175206731)" -v, or use echo but put the v in the .ini file. apologies, - b. |
||
|
|
|
|
|
#368 | |
|
Bamboozled!
"πΊππ·π·π"
May 2003
Down not across
101010001000102 Posts |
Quote:
Until you know your requirements (speed, cycle length, cryptographic strength, code complexity, sundry statistical properties, etc) it is difficult to give advice other than to conduct research. The 3rd Edition of Numerical Recipes has some nice proposals for non-cryptographic PRNGs. My guess is that the MMIX may be sufficient for what you want, which is why I proposed it. It is certainly very quick to write and to run as it consists of two simple arithmetic operations on a 64-bit variable. It's what I use all the time when I can't justify anything more complex. Paul Last fiddled with by xilman on 2010-04-19 at 15:39 Reason: Add final paragraph. |
|
|
|
|
|
|
#369 | ||
|
"Ben"
Feb 2007
7×503 Posts |
Quote:
That's a good question; me neither, really. Random numbers are used in many places throughout the code, but mostly for non-critical things like generating random ECM curve sigmas and random factor base indices from which SIQS polynomials are built, that sort of thing. MMIX, I'm sure, would be fine for those. The only "mission critical" application from a RNG standpoint that I can think of is the RSA number generation function. But I've never meant that to be targeted for cryptographic use - only for generating test cases for siqs and other factoring routines. Quote:
Thanks! - ben. |
||
|
|
|
|
|
#370 |
|
May 2008
100010001112 Posts |
|
|
|
|
|
|
#372 |
|
Mar 2006
Germany
22·727 Posts |
Suggestion:
The output from yafu V1.18 in a DOS-box gives the length of the candidate like rho: ... on C99 pp1: ... on C99 ecm: ... on C99 ... but the file 'factor.log' only prints this in bit-size! So could you equalize both outputs? I like the Cxx more. |
|
|
|
|
|
#373 |
|
"Ben"
Feb 2007
7·503 Posts |
Sure, thanks for the suggestion.
|
|
|
|
|
|
#374 |
|
"Ben"
Feb 2007
7·503 Posts |
... in the usual place.
New in version 1.19 + much improved sieve of Eratosthenes + faster prime counting (fastest available on modern 64 bit CPUs in some situations) + higher limit (up to 4e18) + less memory usage + some new flags for printing primes. + slightly faster SQUFOF implementation + bugfixes + misc requested changes + addition of fermat's factorization algorithm For this version I again mostly concentrated on the sieve of Eratosthenes. Also the usual bug fixes and requested changes. Any feedback is welcome. |
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 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 bug. | storflyt32 | YAFU | 2 | 2015-06-29 05:19 |
| yafu-1.33 | bsquared | YAFU | 12 | 2012-11-08 04:12 |
| yafu-1.32.1 | bsquared | YAFU | 21 | 2012-09-04 19:44 |