returns the cosine in radians from a lookup table . concode_field_sep float radDeg concode_elem_sep float PI concode_elem_sep int SIN_BITS concode_elem_sep float[] table concode_elem_sep int SIN_MASK concode_elem_sep float radToIndex concode_elem_sep float radFull concode_elem_sep float degFull concode_elem_sep float degRad concode_elem_sep float degToIndex concode_elem_sep float radiansToDegrees concode_elem_sep float degreesToRadians concode_elem_sep int SIN_COUNT concode_field_sep Float solveCubic concode_elem_sep float cubed concode_elem_sep float cubicRoot concode_elem_sep float distanceBetween concode_elem_sep float acos concode_elem_sep float angleBetween concode_elem_sep Float solveQuadratic concode_elem_sep float sqrt concode_elem_sep float sinDeg concode_elem_sep float squared concode_elem_sep float sin concode_elem_sep float angleDifference concode_elem_sep float cosDeg
float function ( float arg0 ) { return Sin . table [ ( int ) ( ( arg0 + PI / 2 ) * radToIndex ) & SIN_MASK ] ; }