mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > YAFU

Reply
 
Thread Tools
Old 2013-02-16, 18:27   #1
LangerJan
 
LangerJan's Avatar
 
Feb 2013

3×5 Posts
Default Using YAFU as a C-library

Hi everyone!

I'm looking for a general-purpose factorization library for integers of any size (i > 2^64, but may be -much- bigger). I tried msieve, but it fails from time to time and most disturbingly, it calls exit(-1) in some cases.

Is it possible to use yafu as a C library (or parts of it)? Is somebody using yafu that way? I tried reading my way through the code, but it looks quite difficult.

Kind regards
LangerJan is offline   Reply With Quote
Old 2013-02-16, 20:02   #2
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3×29×83 Posts
Default

Well... for anything less than 100 digits, it might be possible to compile it as a library -- but for implementing NFS, it delegates to Msieve -- and we've run into the same issue of some unfortunate exit()s.
Dubslow is offline   Reply With Quote
Old 2013-02-17, 06:18   #3
LangerJan
 
LangerJan's Avatar
 
Feb 2013

11112 Posts
Default

Very well, I will fiddle with the msieve code then :) Thanks!
LangerJan 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
factoring with MIRACL library prss Factoring 22 2011-06-15 20:25
Quickest fft library nuggetprime Software 3 2011-01-09 01:24
GWNUM library and llr leizhoucn Programming 2 2007-11-05 09:34
GWNUM library bearnol Software 6 2006-02-24 11:19

All times are UTC. The time now is 02:42.


Thu Jan 20 02:42:05 UTC 2022 up 180 days, 21:11, 0 users, load averages: 1.50, 1.65, 1.66

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

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔