def _giant_steps(target):
 res = giant_steps(2, target)
 if (res[0] != 2):
  res = ([2] + res)
 return res

def _giant_steps ( target ) : res = giant_steps ( 2 , target ) if ( res [ 0 ] != 2 ) : res = ( [ 2 ] + res ) return res
return a list of precision steps for the newtons method .