Skip to content

Compilation failure with real()/imag() on complex64 #2564

@jacobhinkle

Description

@jacobhinkle

🐛 Describe the bug

When given complex64 input, the real() and imag() ops try to call std::realf() and std::imagf() which do not exist, leading to a compile error. The fix is to add these ops to the needFloatSuffix switch statement.

Versions

TOT

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