[Nasm-bugs] [Bug 3392399] New: Incorrect hexadecimal floating-point constant calculation

no-reply at bugzilla-nasm.gorcunov.org no-reply at bugzilla-nasm.gorcunov.org
Wed Apr 5 08:48:00 PDT 2017


https://bugzilla.nasm.us/show_bug.cgi?id=3392399

            Bug ID: 3392399
           Summary: Incorrect hexadecimal floating-point constant
                    calculation
           Product: NASM
           Version: 2.11.xx
          Hardware: PC
                OS: Linux
            Status: OPEN
          Severity: normal
          Priority: Medium
         Component: Assembler
          Assignee: nobody at nasm.us
          Reporter: roelsuidgeest at zonnet.nl
                CC: gorcunov at gmail.com, hpa at zytor.com, nasm-bugs at nasm.us

The bug is probably best demonstrated as follows:

$ nasm -o/dev/null -l/dev/tty try.asm
     1 00000000 000000000000E03F        dq 0x1.0p-1
     2 00000008 000000000000D03F        dq 0x0.8p0

The second expression produces 0.25 which should be 0.5.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.


More information about the Nasm-bugs mailing list