*** 43 ABS(X) ***

FUNCTION

Take the absolute (ABS) value of X and place the result in an input location.

PARAM.

DATA

 

 

NUMBER

TYPE

DESCRIPTION

 

01:

4

Input location of X

[X]

02:

4

Dest. input location for

 

 

ABS(X)

[Z]

Input locations altered:

1

 

*** 44 FRACTIONAL VALUE ***

FUNCTION

Take the fractional (FRAC) value (i.e., the non- integer portion) of X and place the result in an input location.

PARAM.

DATA

 

 

NUMBER

TYPE

DESCRIPTION

 

01:

4

Input location of X

[X]

02:

4

Dest. input location for

 

 

FRAC(X)

[Z]

Input locations altered:

1

 

*** 45 INTEGER VALUE ***

FUNCTION

Take the integer (INT) value of X and place the result in an input location.

PARAM.

DATA

 

 

NUMBER

TYPE

DESCRIPTION

 

01:

4

Input location of X

[X]

02:

4

Dest. input location for

 

 

INT(X)

[Z]

Input locations altered:

1

 

*** 46 X MOD F ***

FUNCTION

Do a modulo divide of X by F and place the result in an input location. X MOD F is defined as the REMAINDER obtained when X is divided by F (e.g., 3 MOD 2 = 1). X MOD 0 returns X.

SECTION 10. PROCESSING INSTRUCTIONS

PARAM.

DATA

 

 

NUMBER

TYPE

DESCRIPTION

 

01:

4

Input location of X

[X]

02:

FP

Fixed divisor

[F]

03:

4

Dest. input loc. For X

 

 

MOD F

[Z]

Input locations altered:

1

 

 

*** 47

XY ***

 

FUNCTION

Raise X to the Y power and place the result in an input location.

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

 

 

XY

[Z]

Input locations altered:

1

 

*** 48 SIN(X) ***

FUNCTION

Calculate the sine of X (X is assumed to be in degrees) and place the result in an input location. The cosine of a number can be obtained by adding 90 to the number and taking the sine (COSX = SIN (X + 90)).

PARAM.

DATA

 

 

NUMBER

TYPE

DESCRIPTION

 

01:

4

Input location of X

[X]

02:

4

Dest. input location for

 

 

SIN(X)

[Z]

Input locations altered:

1

 

*** 49 SPATIAL MAXIMUM ***

FUNCTION

Find the spatial maximum (SPA MAX) value of the given set or SWATH of input locations and place the result in an input location. To find the input location where the maximum value occurs, add 1000 to the input location number destination selected [Z] and enter this modified location number as Parameter 03. The input location ID of the maximum value observed will then be stored in destination [Z] plus 1.

10-3