mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > YAFU

Reply
 
Thread Tools
Old 2010-12-22, 22:08   #463
Brian Gladman
 
Brian Gladman's Avatar
 
May 2008
Worcester, United Kingdom

53210 Posts
Default

Hi Ben

I have just added x64 Windows binaries to SVN at:

yafu\build.vc10\x64\Release

Brian
Brian Gladman is offline   Reply With Quote
Old 2010-12-23, 12:53   #464
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

1101110000102 Posts
Default

Thanks Brian.

Win32 and the x64 binaries are now available for download here.
bsquared is offline   Reply With Quote
Old 2010-12-23, 15:57   #465
RichD
 
RichD's Avatar
 
Sep 2008
Kansas

3,391 Posts
Default

Has there been any interest in developing a Mac version, namely running on a PowerPC?

I tinkered around with YAFU a bit a while ago and found several minor changes that needed to be incorporated. I got stuck on why all the PPC ASM code (32-bit & 64-bit) was commented out for INNERMUL & PROPCARRY in type.h. It was straight from TomsFastMath libraries. I didn't understand why the code was turned off.

I know Mark R. did some work on this program years ago, but I believe he is too busy right now.
RichD is offline   Reply With Quote
Old 2010-12-23, 16:32   #466
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

2×3×587 Posts
Default

Quote:
Originally Posted by RichD View Post
Has there been any interest in developing a Mac version, namely running on a PowerPC?

I tinkered around with YAFU a bit a while ago and found several minor changes that needed to be incorporated. I got stuck on why all the PPC ASM code (32-bit & 64-bit) was commented out for INNERMUL & PROPCARRY in type.h. It was straight from TomsFastMath libraries. I didn't understand why the code was turned off.

I know Mark R. did some work on this program years ago, but I believe he is too busy right now.
I'm definitely interested but I don't have a MAC development platform. So my role in any development is pretty much limited to "support".

As to why all that code was commented out... err, there probably isn't any good reason. I haven't touched the TFM code in years, so I can't remember why I originally did that. But there is a generic C fallback in the TFM library if a specific processors' ASM code is not enabled... does that not work (albeit non-optimally)?
bsquared is offline   Reply With Quote
Old 2010-12-23, 16:53   #467
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

143248 Posts
Default

Quote:
Originally Posted by RichD View Post
I know Mark R. did some work on this program years ago, but I believe he is too busy right now.
I didn't work on yafu, but I did work on GGNFS.

I have actually never compiled yafu.
rogue is offline   Reply With Quote
Old 2010-12-23, 21:10   #468
RichD
 
RichD's Avatar
 
Sep 2008
Kansas

3,391 Posts
Default

Quote:
Originally Posted by rogue View Post
I didn't work on yafu, but I did work on GGNFS.

I have actually never compiled yafu.
Sorry, my mistake.

RichD.
RichD is offline   Reply With Quote
Old 2010-12-30, 18:51   #469
lorgix
 
lorgix's Avatar
 
Sep 2010
Scandinavia

61510 Posts
Default

I eventually figured it out. Thanks.

Now what's up with this;

223!+1 being interpreted as 222!+1
Attached Thumbnails
Click image for larger version

Name:	223becomes222.gif
Views:	102
Size:	16.6 KB
ID:	6015  
lorgix is offline   Reply With Quote
Old 2010-12-30, 19:23   #470
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

2×3×587 Posts
Default

Quote:
Originally Posted by lorgix View Post
I eventually figured it out. Thanks.

Now what's up with this;

223!+1 being interpreted as 222!+1
Errr, good question! Just making sure you're paying attention.

I'll look into it, thanks.
bsquared is offline   Reply With Quote
Old 2010-12-30, 19:34   #471
lorgix
 
lorgix's Avatar
 
Sep 2010
Scandinavia

3·5·41 Posts
Default

Another strange error appeared when I tried to do ECM on 307!+1.

Code:
c15 = 428498317330021 (found in stg1 of curve 1 (thread 0) with sigma = 541093533)
Finished 1 curves using Lenstra ECM method on C615 input, B1 = 2000000, B2 = 400000000
To make things more interesting I got a different output the second time I tried it;

Code:
c14 = 16347718253437 (found in stg1 of curve 1 (thread 0) with sigma = 457055413)
Finished 1 curves using Lenstra ECM method on C617 input, B1 = 2000000, B2 = 400000000

P.S. I just tried 151!-1, and surprise surprise.. It was factored as 150!-1

Last fiddled with by lorgix on 2010-12-30 at 19:42 Reason: P.S.
lorgix is offline   Reply With Quote
Old 2010-12-30, 19:56   #472
axn
 
axn's Avatar
 
Jun 2003

5,087 Posts
Default

Quote:
Originally Posted by lorgix View Post
Another strange error appeared when I tried to do ECM on 307!+1.

Code:
c15 = 428498317330021 (found in stg1 of curve 1 (thread 0) with sigma = 541093533)
Finished 1 curves using Lenstra ECM method on C615 input, B1 = 2000000, B2 = 400000000
To make things more interesting I got a different output the second time I tried it;

Code:
c14 = 16347718253437 (found in stg1 of curve 1 (thread 0) with sigma = 457055413)
Finished 1 curves using Lenstra ECM method on C617 input, B1 = 2000000, B2 = 400000000
Well, it is evaluating 306!+1. 428498317330021 = 307 · 1395759991303, and 16347718253437 = 307 · 53249896591. All three are factors of 306!+1 (http://www.factordb.com/index.php?id...00000002850330). BTW, ecm is not deterministic, so you can and will see different outputs from running similar ecm curves on the same number.
axn is offline   Reply With Quote
Old 2010-12-30, 19:58   #473
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

2·3·587 Posts
Default

Yes... there is a bug in my factorial function which skips the last term if it is prime.

I will post fixed binaries tonight on sourceforge.

Sorry about that
bsquared is offline   Reply With Quote
Reply

Thread Tools


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

All times are UTC. The time now is 20:46.


Fri Aug 6 20:46:23 UTC 2021 up 14 days, 15:15, 1 user, load averages: 2.36, 2.45, 2.64

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, 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.