Documentation Home
>
IA-32 Assembly Language Reference Manual
>
Chapter 2 Instruction-Set Mapping
>
Floating-Point Transcendental Instructions
> Floating-Point Cosine (fcos)
IA-32 Assembly Language Reference Manual
Previous
: Floating-Point Sine (fsin)
Next
: Floating-Point Sine and Cosine (fsincos)
Floating-Point Cosine (fcos)
fcos
Example
Replace the contents of the top of the stack with its cos.
fcos
Previous
: Floating-Point Sine (fsin)
Next
: Floating-Point Sine and Cosine (fsincos)
© 2010, Oracle Corporation and/or its affiliates