Skip to content

Cannot handle Float correctly on Windows #160

@SaiCateDoan

Description

@SaiCateDoan

lambda obj, ctx: numpy.frombuffer(obj.rjust(16, b"\x00"), dtype=numpy.longdouble),

Two reasons:

  1. numpy.longdouble is alias of float64 on Windows, but not float96 or float128, so I run it on WSL
  2. numpy.frombuffer returns ndarray, but not a particular number, so I just patched it

I think this might be work, but I only test the function of dump file, so you know...

Test file: 0000001C.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions