Gauche > Archives > 2012/10/23

2012/10/23 01:35:53 UTCenami
#
NetBSD はデフォルト IEEE double precision です.
#
(gdb) si
0xbba660fb      1300            result = dnumer/ddenom;
(gdb) info float
=>R7: Valid   0x3fff8000000000000800 +1.000000000000000222      
  R6: Empty   0x4032aaaaaaaaaaaac000
  R5: Empty   0x00000000000000000000
  R4: Empty   0x00000000000000000000
  R3: Empty   0x00000000000000000000
  R2: Empty   0x00000000000000000000
  R1: Empty   0xffff00000000664d6e8e
  R0: Empty   0xffffd0ce78897c5d3fa8

Status Word:         0x3925   IE    ZE       PE             C0         
                       TOP: 7
Control Word:        0x127f   IM DM ZM OM UM PM
                       PC: Double Precision (53-bits)
                       RC: Round to nearest
Tag Word:            0x3fff
Instruction Pointer: 0x1b:0xbba660f9
Operand Pointer:     0x23:0xbfbfe870
Opcode:              0xdb86
(gdb)