BREAKDOWN FIRST FACTOR WITH GMP
DECOMPOSITION FACTEURS PREMIERS AVEC GMP
Voici un programme développé en Visual C++ 6.0 qui calcule la décomposition en facteurs premiers d'un nombre entier positif éventuellement de grande taille. On peut très largement dépasser la limite des int et même des __int64. La bibliothèque gmp donc utilisée pour cette raison. La documentation gmp-man-4.1.2.pdf est encore disponible. La méthode de calcul est simplement la méthode naïve. Le temps de calcul est très variable, il peut être excessivement long quand on rencontre un nombre premier de très grande taille. C'est en fait, un exemple simple pour montrer l'utilisation de gmp. Pour un test de primalité, ce n'est pas toujours un très bon exemple. On s'intéresse ici uniquement à la décomposition en facteurs premiers.
______________________________________________________________________
Here is a program developed in Visual C ++ 6.0, which calculates the prime decomposition of a positive integer possibly large factors. It may very well exceed the limit of int and even __int64. The library gmp is used for this reason. The gmp-man 4.1.2.pdf documentation is still available. The calculation method is simply naive method. The calculation time is very variable, it may be too long when meeting a first number of very large. This is actually a simple example to demonstrate the use of gmp. For a primality test, it is not always a very good example. Here we are interested only in the prime factorization.
_________________________________________________________________________
هذا البرنامج تم تطويره في Visual C ++ 6.0 والذي يحسب التحليل الرئيسي لعدد صحيح موجب وايضا عوامل كبيرة. قد تتجاوزها بشكل جيد للغاية و ايضا الحد من كثافة لهذا السبب: تم انشاء برنامج الرصد العالمي وثائق 4.1.2.pdf
وبرنامج الرصد العالمي يعمل على تسهيل طريقة الحساب .
هو طريقة ساذجة. و ايضا حساب الوقت وهو متغير جدا، قد تكون طويلة جدا لدى لقائه عددا كبيرة جدا.
هذا هو في الواقع مثال بسيط لشرح استخدام برنامج الرصد العالمي. لاختبار بريماليتي أنها ليست دائما مثالا جيدا للغاية.
______________________________________________________________________
للتحميل من رابط مباشر اضغط الرابط الموجود بالاسفل
download
http://adf.ly/1YmvVK