| # compute arctangent table for CORDIC computations in fttrigon.c |

| #units = 64*65536.0 # don't change !! |

| print "table of arctan( 1/2^n ) for PI = " + repr(units/65536.0) + " units" |

| x = 0.5**n # tangent value |

| angle = math.atan(x) # arctangent |

| angle2 = round(angle*scale) # arctangent in FT_Angle units |

| sys.stdout.write( comma + repr( int(angle2) ) ) |

| shrink /= math.sqrt( 1 + x*x ) |

| print "shrink factor = " + repr( shrink ) |

| print "shrink factor 2 = " + repr( int( shrink * (2**32) ) ) |

| print "expansion factor = " + repr( 1/shrink ) |