IBM SC34-5764-01 Manual do Utilizador Página 244

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 481
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 243
Numeric Comparisons
The comparison operators are listed in section “Comparison” on page 117. You can use any of these for
comparing numeric strings. However, you should not use ==, \==, ¬==, >>, \>>, ¬>>, <<, \<<, and ¬<< for
comparing numbers because leading and trailing blanks and leading zeros are significant with these
operators.
A comparison of numeric values is effected by subtracting the two numbers (calculating the difference) and
then comparing the result with 0. That is, the operation:
A?Z
where ? is any numeric comparison operator, is identical with:
(A-Z)?'0'
It is, therefore, the difference between two numbers, when subtracted under REXX subtraction rules, that
determines their equality.
A quantity called fuzz affects the comparison of two numbers. This controls the amount by which two
numbers may differ before being considered equal for the purpose of comparison. The FUZZ value is set
by the instruction:
 NUMERIC FUZZ
expression
; 
Here expression must result in a positive whole number or zero. The default is 0.
The effect of FUZZ is to temporarily reduce the value of DIGITS by the FUZZ value for each numeric
comparison. That is, the numbers are subtracted under a precision of DIGITS minus FUZZ digits during
the comparison. Clearly the FUZZ setting must be less than DIGITS.
Thus if DIGITS = 9 and FUZZ = 1, the comparison is carried out to 8 significant digits, just as though
NUMERIC DIGITS 8 had been put in effect for the duration of the operation.
Example:
Numeric digits 5
Numeric fuzz 0
say 4.9999 = 5 /* Displays "0" */
say 4.9999 < 5 /* Displays "1" */
Numeric fuzz 1
say 4.9999 = 5 /* Displays "1" */
say 4.9999 < 5 /* Displays "0" */
Exponential Notation
The preceding description of numbers describes “pure” numbers, in the sense that the character strings
that describe numbers can be very long. For example:
10000000000 * 10000000000
would give
100000000000000000000
and
.00000000001 * .00000000001
would give
0.0000000000000000000001
Numbers and Arithmetic
222
CICS TS for VSE/ESA: REXX Guide
Vista de página 243
1 2 ... 239 240 241 242 243 244 245 246 247 248 249 ... 480 481

Comentários a estes Manuais

Sem comentários

Conceptronic 1300079 manuales

Manuales del propietario y guías del usuario para Hdd / ssd recintos Conceptronic 1300079.
Ofrecemos 1 manuales en pdf Conceptronic 1300079 para descargar gratis por tipos de documentos: Ficha de datos






Más productos y manuales para Hdd / ssd recintos Conceptronic

Modelos Tipo de documento
1300007 Ficha de datos   Conceptronic CHD2ULB USB powered, 4 paginas
C20-257 Ficha de datos   Conceptronic 2,5" Harddisk Box Mini Yellow USB powered, 3 paginas
C05-310 Ficha de datos   Conceptronic CHD3UL, 4 paginas
C20-351 Ficha de datos   Conceptronic CHD3SUSB3, 4 paginas
C20-278 Ficha de datos   Conceptronic 2,5" Exclusive Hard Disk Box USB powered, 2 paginas
C20-256 Ficha de datos   Conceptronic 2,5" Harddisk Box Mini Pink USB powered, 3 paginas
C20-001 Ficha de datos   Conceptronic 3,5” Harddisk Box USB, 3 paginas
C20-275 Ficha de datos   Conceptronic 2,5" Hard Disk Box DeLux USB powered, 2 paginas
C20-277 Ficha de datos   Conceptronic 2,5" Exclusive Hard Disk Box USB powered, 2 paginas
C20-300 Ficha de datos   Conceptronic 3.5” Harddisk Box USB 3.0, 3 paginas
C05-212 Ficha de datos   Conceptronic Storage box 5.25 inch, 3 paginas
C05-165 Ficha de datos   Conceptronic Harddisk 3.5 SATA FW/USB 2.0, 3 paginas
C20-254 Ficha de datos   Conceptronic 2,5" Harddisk Box Mini Turquoise USB powered, 3 paginas
C10-696 Ficha de datos   Conceptronic 2,5" Harddisk Box Mini Black, 3 paginas
C20-251 Ficha de datos   Conceptronic 2,5" Harddisk Box Mini White USB powered, 3 paginas
C20-152 Ficha de datos   Conceptronic 2,5" Harddisk Box Mini USB 3.0 USB powered, 3 paginas
C20-150 Ficha de datos   Conceptronic 2,5" Harddisk Box USB 3.0 USB powered, 3 paginas
C20-258 Ficha de datos   Conceptronic 2,5" Harddisk Box Mini Violet USB powered, 3 paginas
C05-210 Ficha de datos   Conceptronic 3,5 inch USB hard disk box for SATA hard disk, 3 paginas
C05-500 Ficha de datos   Conceptronic 2,5 / 3,5 inch hard disk docking station eSATA/USB, 3 paginas