Skip to content

[math] TComplex arithmetic operators don't work with integral types #13730

Description

@meiyasan

Feature description

Hello,

This sounds obvious but, can we hope to have some cast compatibility with int and float for TComplex class ?
Just typing the following line is failing: 2*TComplex(2,2)
but 2.0*TComplex(2,2) is fine.

I dont think this would be a lot of work, but very helpful to use.

Cheers,
M.

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions