Skip to content

segfault: QuadPrecision(1).byteswap() #217

@jorenham

Description

@jorenham

It seems to happen every time:

❯ python -m IPython
Python 3.13.9 (main, Oct 14 2025, 21:29:44) [Clang 20.1.4 ]
Type 'copyright', 'credits' or 'license' for more information
IPython 9.6.0 -- An enhanced Interactive Python. Type '?' for help.
Tip: You can use LaTeX or Unicode completion, `\alpha<tab>` will insert the α symbol.
Ctrl click to launch VS Code Native REPL

In [1]: import numpy_quaddtype as npq

In [2]: npq.QuadPrecision(1).byteswap()
[1]    1076585 segmentation fault (core dumped)  python -m IPython

For the numpy floating types this byteswap() is a no-op, I believe.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions