BR 3052618: handle segment register operations in 64-bit mode
[nasm/nasm.git] / test / floatb.asm
blobdc0422e01698a64b983a831f1a22f5ada50770ea
1 ;Testname=unoptimized; Arguments=-O0 -fbin -ofloatb.bin; Files=stdout stderr floatb.bin
2 ;Testname=optimized; Arguments=-Ox -fbin -ofloatb.bin; Files=stdout stderr floatb.bin
4 ;; Known problematic floating-point numbers and their proper
5 ;; encoding...
7 bits 64
9 dd 1.1e10
10 dd 0x5023e9ac ; Should be...
12 dd 50.40e9
13 dd 0x513bc130 ; Should be...
15 dq 1.4e23
16 dq 0x44bda56a4b0835c0
18 dq 50.48e21
19 dq 0x44a5610d7502feae
21 dt 1.2e28
22 dq 0x9b18ab5df7180b6c
23 dw 0x405c
25 dt 50.46e25
26 dq 0xd0b29a67e95dcb60
27 dw 0x4057
29 ;; Way too big numbers, should overflow to +Inf
30 dd 1.0E646456955
31 dd 1.0E646456956
32 dd 1.0E2147483646
33 dd 1.0E2147483647
34 dd 1.0E2147483648
35 dd 1.0E2147483649