User's Reference > General > TCL and General User Commands > Command Reference > D > DIVX

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

RealityV15.1Online Documentation (MoTW) Revision 7

DIVX (TCL) (m604806+divx.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

DIVX

Divides one hexadecimal number by another.

Command Class

TCL-I command.

Syntax

DIVX n m

Syntax Elements

n is a hexadecimal number; the dividend.

m is a hexadecimal number; the divisor.

Results

The result of the division is displayed on the line immediately below the command. This comprises the quotient (on the left) and the remainder (on the right).

Negative Numbers

Hexadecimal numbers are considered negative when they are in the range from X'FFFFFFFFFFFF'(-1) to X'800000000001'(-140,737,488,355,327).

Largest Numbers

The largest hex numbers that this process handles are:

7FFFFFFFFFFF (+140,737,488,355,327)
800000000001 (-140,737,488,355,327)

Example

:DIVX FFF EE
      11  31

RealityV15.1 (MoTW) Revision 7Comment on this topic