Skip to content

Make fp_complex_promote that complexifies fp_promote. #164

@emsr

Description

@emsr

This is useful for complex returns of real argument.
Just make a thing like what's already hard coded in specfun.h for hankels:
std::complex<fp_promote_t<_Tp, _Tnu>>

Don't allow complex of complex though.

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