I have my ZC706 board with dual arm cortex 32bit one. I am trying to run an algorithm over it, as a part of the code it has floating point values.
uint32_t int Ts = 69912;
Ts_pico = 20*(10^-12)*Ts;
printf("Time stamp in picoseconds is %f", Ts_pico);
And it prints a value 4272595456.000000 instead of 1.39824*(10^-6)
So I tested by printing
printf("The float point value is %f", 1.39824);
It was fine printing out the following value.
Next, when i tested by printing
double f = 10^-6;printf("The flloat point value is %f", f);
The value it has printed is -14401872.000000
How can I solve the issue with floating point values?