FSIN
正弦
stableVMJITAOTinstruction
编码
实测开销
在寄存器 ST (0) 中计算 源操作数 正弦的近似值,并将结果存储于 ST (0) 。 源操作数必须用弧度给出,并且必须在-263到+263之间. 下表显示
假定不发生下流,在采用各类数字的正弦时取得的结果。
FSIN 结果
IF -263 < ST(0) < 263
THEN
C2 := 0;
ST(0) := fsin(ST(0)); // approximation of the mathematical sin function
ELSE (* Source operand out of range *)
C2 := 1;
FI;
FPU Flags Affected
C1 Set to 0 if stack underflow occurred.
Set if result was rounded up; cleared otherwise.
C2 Set to 1 if outside range (-263 < source operand < +263); otherwise, set to 0.
C0, C3 Undefined.
浮点 例外#
#IS Stack underflow occurred.
#IA Source operand is an SNaN value, , or unsupported format.
#D Source operand is a denormal value.
#P Value cannot be represented exactly in destination format.
异常
保护模式
实地址模式
虚拟 8086 模式
兼容模式
64 位模式
来源