View Single Post
  #5  
Old 08-04-2003, 05:48 AM
TribulationStaff TribulationStaff is offline
Registered User
Join Date: Jul 2003
Location: Pennsylvania
Posts: 368
TribulationStaff is on a distinguished road
Send a message via AIM to TribulationStaff
In the case I have in mind, I want to do something by a method of halving, which means I need to work in iterations, and I don't want to overwrite the old steps, so I have configured my for loops such that with a gcd I could do that easily.

Other uses include finding the relative primacy, another way to determine parity, and there are countless recursive formulae which include a gcd.
__________________


Help me keep scripting
Reply With Quote