Hello Daniel
1.I am using CVI 8.1.0 (271)
2. No, but did not check.
3. Yes. Here it is:
#include <stdio.h>
#include <math.h>
void main(void)
{
double a,b;
a = 0.0199999995529651700; // a value in Watt
b = 10.0 * log10(a * 1000.0); // same value in dBm
printf("%20.18e --> %20.18e\n", a, b);
}
On my machine this outputs:
1.999999955296517112e-02 --> 1.301029985956743218e+01
in DEBUG and
1.999999955296517112e-02 --> 1.301029985956743040e+01
in RELEASE mode.
Thank you for any hint how to avoid this.
Best regards
Lutz