x86 Assembly Language Reference Manual

Transcendental Instructions (Floating-Point)

The transcendental instructions perform trigonometric and logarithmic operations on floating-point operands.

Table 3–16 Transcendental Instructions (Floating-Point)

Solaris Mnemonic 

Intel/AMD Mnemonic 

Description 

Notes 

f2xm1

F2XM1

computes 2x-1

 

fcos

FCOS

cosine 

 

fpatan

FPATAN

partial arctangent 

 

fptan

FPTAN

partial tangent 

 

fsin

FSIN

sine 

 

fsincos

FSINCOS

sine and cosine 

 

fyl2x

FYL2X

computes y * log2x

 

fyl2xp1

FYL2XP1

computes y * log2(x+1)