emsr / emsr/cxx_math

Make fp_complex_promote that complexifies fp_promote.

Open
#164 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
17
Forks
3
PR merge metrics
No merged PRs in 30d

Description

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>

Don't allow complex of complex though.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the existing fp_promote_t usage and the hard-coded complex promotion in specfun.h. Trace how real and complex template arguments are handled, then verify that the new fp_complex_promote behavior supports complex returns from real arguments without producing complex-of-complex types.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
data
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.