◄Detail► ◄Up► ◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── Title: Sine/Cosine 80387/486 Only Syntax: FSIN FCOS FSINCOS See also: .387, .486, FPREM, FPREM1, FPTAN Description: FSIN replaces a value in radians in ST with its sine. FCOS replaces a value in radians in ST with its cosine. FSINCOS calculates the sine and cosine of a radian value in ST. The sine replaces the value in ST, and then the cosine is pushed onto the stack. If |ST| < 2^63, the C2 bit of the status word is cleared and the sine and/or cosine is calculated. Otherwise, C2 is set and no calculation is performed. ST can be reduced to the required range with FPREM or FPREM1. -♦-