Kfpexp; Kfplog - Keithley 4200A-SCS Reference Manual

Parameter
Hide thumbs Also See for 4200A-SCS:
Table of Contents

Advertisement

Model 4200A-SCS Parameter Analyzer Reference Manual

kfpexp

This command supplies the base of natural logarithms (e) raised to a specified power and stores the result as a
variable.
Usage
int kfpexp(double *x, double *z);
x
z
Details
e raised to the power of the value referenced by x is stored in the location pointed to by z. If an
overflow occurs, the result is ±Inf. If an underflow occurs, the result is zero (0).
Example
double res4, res4e;
.
.
measv(SMU1, &res4);/* Raise the base of natural */
/* logarithms e to the power */
/* res4; */
kfpexp(&res4, &res4e;/* return the result to res4e. */
.
.
In this example, kfpexp raises the base of natural logarithms to the power specified by the exponent
res4. The result is stored in res4e.
Also see
None

kfplog

This command returns the natural logarithm of a real number to the specified variable.
Usage
int kfplog(double *x, double *z);
x
z
Details
This command returns a natural logarithm, not a common logarithm. The natural logarithm of the
value referenced by x is stored in the location pointed to by z.
If a negative value or zero (0) is supplied for x, a log of negative value or zero (0) error is generated
and the result is NaN (not a number).
4200A-901-01 Rev. C / February 2017
The exponent
The variable where the result of e
A variable containing a floating point number
A variable where the result of ln (x) is stored
Section 13: LPT library function reference
x
is stored
13-53

Advertisement

Table of Contents
loading

Table of Contents