8000 MAINT: Create static inline functions for builtin (numeric?) casts · Issue #21457 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content
MAINT: Create static inline functions for builtin (numeric?) casts #21457
Open
@seberg

Description

@seberg

The scalar math (now) does some casting, and also the normal cast functions in lowlevel_strided_loops.c.src are heavily templated and complicated.
It would seems useful to create static inline functions for these (probably via C++ templating now). That way we can simplify all casting code paths in one go.

See also #21188 (comment) and the discussion on that PR.

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

      0