Old:
ut71x: Applying exponent -12, new value is 0.000000.
P1: 1.500 nF AUTO
P1: 1.500 nF AUTO
New:
ut71x: Applying exponent -12, new value is 1.5e-09.
P1: 1.500 nF AUTO
P1: 1.500 nF AUTO
This fixes bug #700.
/* Apply respective exponent (mode-dependent) on the value. */
*floatval *= powf(10, *exponent);
- sr_dbg("Applying exponent %d, new value is %f.", *exponent, *floatval);
+ sr_dbg("Applying exponent %d, new value is %g.", *exponent, *floatval);
return SR_OK;
}