-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[math] Support TComplex arithmetic operations with any possible type
Generalize the arithmetic operator overloads of TComplex to general arithmetic types with templates. I'm using some `enable_if` for arithmetic types only, so we can be sure that nothing unexpected will happen for non-arithmetic types that implement arithmetic operators with `double` themselves. Closes #13730.
- Loading branch information
1 parent
6e556ce
commit 993cc13
Showing
1 changed file
with
28 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters