وو

وحید آنلاین . آرشیو وبلاگ وحیدمی دات آی آر . شرکت بیان. vahidmy.blog.ir

وو

وحید آنلاین . آرشیو وبلاگ وحیدمی دات آی آر . شرکت بیان. vahidmy.blog.ir

FCOS

FCOS 

Usage: FCOS  ST0                                    Modifies flags: See below.

Computes the cosine of the source operand in register ST(0) and stores the result in ST(0).

Floating-Point  Cosine


FCOS                          ; D9 FF                [386,FPU]


FCOS computes the cosine of ST0 (in radians), and stores the result in ST0. The absolute value of ST0 must be less than 2**63.



See also FSINCOS ( FSIN).


FPU Flags Affected

C1 Set to 0 if stack underflow occurred. Set if result was rounded up; cleared otherwise.

Undefined if C2 is 1.

C2 Set to 1 if outside range (-2**63 <source operand <+2**63 ); otherwise, set to 0.

C0, C3 Undefined.


EXAMPLE:

finit | fld st0 55.6

fcos