Tool/software:
It seems there is no C++ operator to multiply a float and a cfloat.
I expected it as it exists in usual math and in std C++, cf std::complex operators
It seems either impossible to define one because cfloat is not really a class (outside HostEmu).
inline cfloat operator* (const float& lhs, const cfloat& rhs) { return cfloat(lhs * rhs.r(), lhs * rhs.i()); }
error #952: nonmember operator requires a parameter with class or enum type
This overloading works with HostEmu. It fails with CGT 4.1.0.