Operator’s manual – Teledyne LeCroy WaveExpert 100H Operators Manual User Manual
Page 288
Operator’s Manual
286
WE-OM-E Rev A
positive or zero. A can be any number in the
range of the VB system.
Atn
Atn (A) calculates the angle of which A is the
tangent. Because infinitely many angles can
have the same tangent, the output of Atn always
lies in the range minus
π / 2 to plus π / 2. The
input can be any positive or negative value in the
range of the VB system.
CDbl
CDbl (A) calculates a double precision real
variable, equal to A.
CInt
Cint (A) calculates the integer value nearest to A,
which can be any acceptable VBS number. Cint
(-7.4) = -7. Integers are signed 16-bit values in
the range -32767 to + 32767.
CLng
CLng (A) calculates the nearest long integer to
the value A. Long integers are signed 32-bit
values in the approximate range -21.5 M to +
21.5 M.
Cos
Cos (A) calculates the cosine of any integer or
real number, giving an output that is never
greater than plus one or less than minus one.
CSng
CSng (A) calculates a single precision real
variable equal to A.
Exp
Exp (A) calculates the value of e
A
.
Int
Cint (A) calculates the integer value next below
A, which can be any acceptable VBS number. Int
(-7.4) = -8.
Log
Log (A) calculates the natural logarithm (to base
e), of any acceptable VBS number greater than
zero. A negative number or zero will create an
error.
To calculate Log
10
(A), use Log
10
(A) = Log(A) /
Log(10)
Mod
A Mod (B) calculates the modulus of A, which is
the remainder after A has been divided by B.
34 Mod 8 = 2. 34 Mod 55 = 0. -34 Mod 13 = -8. 21
Mod -8 = 5.
Randomize
Calculates a new seed for the pseudo-random