emsr / tr29124_test

C++ special math functions
GNU General Public License v3.0
17 stars 3 forks source link

Make fp_complex_promote that complexifies fp_promote. #164

Open emsr opened 5 years ago

emsr commented 5 years ago

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.