cobol2.hlp (Table of Contents; Topic list)
COMP-5 Details (↑ Choosing Run-time Behavior)
 Key Summary                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     The possible values of integer are:
 
      1  Behavior as in earlier versions of this compiler. The sign
         is dropped.
 
      2  The sign is not dropped. Negative numbers are stored in two's
         complement form, so that, except for their byte-order being
         machine dependent, unsigned COMP-5 items behave like COMP-X.
         This results in highly efficient arithmetic on unsigned
         COMP-5 items.
                                    -♦-