SECTION 10. PROCESSING INSTRUCTIONS*** 36 X * Y ***

FUNCTION

Multiply X by Y and place the result in an input location (Z).

PARAM.

DATA

 

 

NUMBER

TYPE

DESCRIPTION

 

01:

4

Input location of X

[X]

02:

4

Input location of Y

[Y]

03:

4

Dest. input location for

 

 

X*Y

[Z]

Input locations altered:

1

 

*** 37 X * F ***

FUNCTION

Multiply X by F (where F is a fixed multiplier) and place the result in an input location.

PARAM.

DATA

 

 

NUMBER

TYPE

DESCRIPTION

 

01:

4

Input location of X

[X]

02:

FP

Fixed value

[F]

03:

4

Dest. input location for

 

 

X*F

[Z]

Input locations altered:

1

 

*** 38 X / Y ***

FUNCTION

Divide X by Y and place the result in an input location. Division by 0 will cause the result to be set to the maximum CR10 number (99999).

PARAM.

DATA

 

 

NUMBER

TYPE

DESCRIPTION

 

01:

4

Input location of X

[X]

02:

4

Input location of Y

[Y]

03:

4

Dest. input location for

 

 

X/Y

[Z]

Input locations altered:

1

 

*** 39 SQUARE ROOT ***

FUNCTION

Take the square root of X and place the result in an input location. If X is negative, 0 will be stored as the result.

10-2

PARAM.

DATA

 

 

NUMBER

TYPE

DESCRIPTION

 

01:

4

Input location of X

[X]

02:

4

Dest. input location for

 

 

X1/2

[Z]

Input locations altered:

1

 

*** 40 LN(X) ***

FUNCTION

Take the natural logarithm of X and place the result in an input location. If X is 0 or negative, -99999 will be stored as the result.

PARAM.

DATA

 

 

NUMBER

TYPE

DESCRIPTION

 

01:

4

Input location of X

[X]

02:

4

Dest. input location for

 

 

LN(X)

[Z]

Input locations altered:

1

 

*** 41 EXP(X) ***

FUNCTION

Raise the exponential (EXP) base e to the X power and place it in an input location.

PARAM.

DATA

 

NUMBER

TYPE

DESCRIPTION

01:

4

Input location of X [X]

02:

4

Dest. input for EXP(X)

 

 

[Z]

Input locations altered:

1

 

*** 421/X ***

FUNCTION

Take the inverse of X and place the result in an input location. If X=0, 99999 will be given as the result.

PARAM.

DATA

 

 

NUMBER

TYPE

DESCRIPTION

 

01:

4

Input location of X

[X]

02:

4

Dest. input location for

 

 

1/X

[Z]

Input locations altered:

1