Section 13: LPT library function reference Model 4200A-SCS Parameter Analyzer Reference Manual13-54 4200A-901-01 Rev. C / February 2017Exampledouble res1, logres;..measv(SMU1, &res1);/* Measure SMU1; store in res1. */kfplog(&res1, &logres);/* Convert res1 to a natural *//* LOG and store in logres. */.This example calculates the natural logarithm of a real number (res1). The result is stored in logres.Also seeNonekfpmulThis command multiplies two real numbers and stores the result as a specified variable.Usageint kfpmul(double *x, double *y, double *z);x A variable containing the multiplicandy A variable containing the multiplierz The variable where the result of x*y is storedDetailsThe value referenced by x is multiplied by the value referenced by y, and the result is stored in thelocation pointed to by z. If an overflow occurs, the result is ±Inf. If an underflow occurs, the result iszero (0).Exampledouble res1, res2, pwr2;..measi(SMU1, &res1);/* Measure SMU1 current; *//* store in res1. */measv(SMU1, &res2);/* Measure SMU1 voltage; *//* store in res2. */kfpmul(&res1, &res2, &pwr2);/* Multiply res1 by res2; *//* return result to pwr2. */..This example multiplies variables res1 and res2. The result is stored in the variable pwr2.Also seeNone