travis: update float test

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
Cyrill Gorcunov 2020-10-15 00:40:36 +03:00
parent e715b61509
commit ecd704d846
2 changed files with 34 additions and 0 deletions

View File

@ -2,6 +2,8 @@
; Test of floating-point formats
;
%use fp
; 8-bit
db 1.0
db +1.0
@ -62,6 +64,37 @@
dw __SNaN__
dw 3.1415926535_8979323846_2643383279_5028841971_6939937510_5
; 16-bit bfloat
bf16 1.0
bf16 +1.0
bf16 -1.0
bf16 1.5
bf16 +1.5
bf16 -1.5
bf16 0.0
bf16 +0.0
bf16 -0.0
bf16 1.83203125
bf16 +1.83203125
bf16 -1.83203125
bf16 1.83203125e15
bf16 +1.83203125e15
bf16 -1.83203125e15
bf16 1.83203125e-15
bf16 +1.83203125e-15
bf16 -1.83203125e-15
bf16 1.83203125e-40 ; Denormal!
bf16 +1.83203125e-40 ; Denormal!
bf16 -1.83203125e-40 ; Denormal!
bf16 __Infinity__
bf16 +__Infinity__
bf16 -__Infinity__
bf16 __NaN__
bf16 __QNaN__
bf16 __SNaN__
bf16 3.1415926535_8979323846_2643383279_5028841971_6939937510_5
bf16 -3.1415, NaN, 2000.0, +Inf
; 32-bit
dd 1.0
dd +1.0
@ -91,6 +124,7 @@
dd __QNaN__
dd __SNaN__
dd 3.1415926535_8979323846_2643383279_5028841971_6939937510_5
dd -3.1415, NaN, 2000.0, +Inf
; 64-bit
dq 1.0

Binary file not shown.