universal icon indicating copy to clipboard operation
universal copied to clipboard

Fixpoint type does not support creation of complex numbers

Open mmoelle1 opened this issue 3 years ago • 2 comments

The fixpnt type lacks a file math/complex.hpp (as it is available for posits and cfloats) with the functionality to create complex numbers, e.g., by providing real and imaginary parts.

Thanks for fixing this, Matthias

mmoelle1 avatar Aug 28 '21 06:08 mmoelle1

@mmoelle1 release v3.34.1 added a math library for the fixpnt number system, including a complex.hpp with real(), imag(), and conj() functions.

https://github.com/stillwater-sc/universal/releases/tag/v3.34.1

Let me know if this solves your use case.

Ravenwater avatar Aug 31 '21 02:08 Ravenwater

@mmoelle1 has this issue been resolved for application?

Ravenwater avatar Apr 23 '22 11:04 Ravenwater