Kfpsqrt - Keithley 4200A-SCS Reference Manual

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

Advertisement

Model 4200A-SCS Parameter Analyzer Reference Manual

kfpsqrt

This command performs a square root operation on a real number and returns the result to the specified variable.
Usage
int kfpsqrt(double *x, double *z);
x
z
Details
The square root of the value referenced by x is stored in the location pointed to by z.
If x points to a negative number, a square root of negative number error is generated, and the result
is NaN (not a number).
Example
double res1, sqres2;
.
.
measv(SMU1, &res1);/* Measure SMU1; store result */
./* in res1. */
kfpsqrt(&res1, &sqres2);/* Find square root of res1; */
/* return result to sqres2. */
.
This example converts a real number (res1) into its square root. The result is stored in sqres2.
Also see
None
4200A-901-01 Rev. C / February 2017
A variable that contains a floating point number
A variable where the result, the square root of x, is stored
Section 13: LPT library function reference
13-57

Advertisement

Table of Contents
loading

Table of Contents