Loading...
 

SW4STM32 and SW4Linux fully supports the STM32MP1 asymmetric multicore Cortex/A7+M4 MPUs

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world. And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4.
You can get more information from the ac6-tools website and download (registration required) various documents highlighting:

System Workbench for STM32


You are viewing a reply to working with complex numbers  

working with complex numbers

Hi Sanket! Greetings!
Please, note that this forum is mainly used for Eclipse/SW4STM32 related discussions.
You may get more comments in using forum dedicated to C coding.

Anyway, I made trials but didn’t manage to reproduce this issue.
In my test code, I included complex.h : the Standard Library of Complex Numbers
The variables are declared with the following line :
volatile float complex z0, z1, z, zprev, znext; // imaginary 32-bit number

In the attached snapshot, you can see :
- the code of the main function;
- both parts of the complex variables updated;

I hope it can help.