float function ( float arg0 ) { return Sin . table [ ( int ) ( ( arg0 + PI / 2 ) * radToIndex ) & SIN_MASK ] ; }
returns the cosine in radians from a lookup table . concode_field_sep float radDeg concode_elem_sep double BIG_ENOUGH_ROUND concode_elem_sep int SIN_BITS concode_elem_sep float PI concode_elem_sep Random random concode_elem_sep double BIG_ENOUGH_CEIL concode_elem_sep int BIG_ENOUGH_INT concode_elem_sep double BIG_ENOUGH_FLOOR concode_elem_sep float nanoToSec concode_elem_sep float FLOAT_ROUNDING_ERROR concode_elem_sep float[] table concode_elem_sep float E 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 double CEIL concode_elem_sep float degToIndex concode_elem_sep float radiansToDegrees concode_elem_sep float PI2 concode_elem_sep float degreesToRadians concode_elem_sep int SIN_COUNT concode_field_sep float randomTriangular concode_elem_sep float randomTriangular concode_elem_sep float randomTriangular concode_elem_sep float randomTriangular concode_elem_sep int randomSign concode_elem_sep float lerp concode_elem_sep float lerpAngleDeg concode_elem_sep float log concode_elem_sep int ceilPositive concode_elem_sep boolean isEqual concode_elem_sep boolean isEqual concode_elem_sep int floorPositive concode_elem_sep int ceil concode_elem_sep int random concode_elem_sep int random concode_elem_sep long random concode_elem_sep long random concode_elem_sep float random concode_elem_sep float random concode_elem_sep float random concode_elem_sep boolean isPowerOfTwo concode_elem_sep int round concode_elem_sep int nextPowerOfTwo concode_elem_sep float sinDeg concode_elem_sep boolean randomBoolean concode_elem_sep boolean randomBoolean concode_elem_sep float sin concode_elem_sep boolean isZero concode_elem_sep boolean isZero concode_elem_sep int roundPositive concode_elem_sep int floor concode_elem_sep float log2 concode_elem_sep short clamp concode_elem_sep int clamp concode_elem_sep long clamp concode_elem_sep float clamp concode_elem_sep double clamp concode_elem_sep float cosDeg concode_elem_sep float lerpAngle concode_elem_sep float atan2