setprec.688
来自「数学运算库源码」· 688 代码 · 共 36 行
688
36 行
/* Set 68881/2 floating point rounding precision *//* Reference: MC68881/MC68882 Floating-Point Coprocessor *//* User's Manual, Motorola, Prentice-Hall, 1987 (First Edition) *//* Pages 1-14, 2-3, 4-68. *//* FPcr code $80 sets the 68882 coprocessor to *//* rounding precision = 53 bits *//* rounding mode = nearest or even *//* all exceptions (bits 8-15) disabled *//* The instruction is *//* FMOVE.L #$80,Fcr *//* if the assembler will understand it. */ .align 2.text/* set to single precision */.globl _sprec_sprec .word 0xf23c,0x9000,0x0000,0x0040 rts/* set to double precision */.globl _dprec_dprec: .word 0xf23c,0x9000,0x0000,0x0080 rts/* set to extended (long double) precision */.globl _ldprec_ldprec: .word 0xf23c,0x9000,0x0000,0x0000 rts
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?