817:cee9f0ecac66 | 818:748ba8818af8 |
---|---|
144 | 144 |
145 do | 145 do |
146 { | 146 { |
147 repeat = false; | 147 repeat = false; |
148 | 148 |
149 for (int x = 0; x < countof (primes); x++) | 149 for (int x = 0; x < countof (g_primes); x++) |
150 { | 150 { |
151 int const prime = primes[x]; | 151 int const prime = g_primes[x]; |
152 | 152 |
153 if (numer < prime && denom < prime) | 153 if (numer < prime && denom < prime) |
154 break; | 154 break; |
155 | 155 |
156 if ((numer % prime == 0) && (denom % prime == 0)) | 156 if ((numer % prime == 0) && (denom % prime == 0)) |