قالب:Gcd
من ويكيبيديا، الموسوعة الحرة
هذا القالب ذو حساسية عالية لذلك تمت حمايته لتجنب أي تخريب متعمد أو غير مقصود. رجاء ناقش أي تعديلات تود القيام بها في صفحة النقاش أو في صفحة إخطار الإداريين. |
[[{{fullurl:قالب:SUBJECTPAGENAMEE/doc}} view]] [[{{fullurl:قالب:SUBJECTPAGENAMEE/doc|action=edit}} edit]]
Template documentation

This template calculates the greatest common divisor (gcd) of two parameters. It returns the value of gcd. Zero is returned when calculation is too complex (this implementation only allows for ten iterations of the Euclidean algorithm).
[تحرير] Examples
- {{gcd|16|6}} → 2
- {{gcd|544|119}} → 17
- {{gcd|2089|3571}} → 0 (algorithm iteration limit reached)