Remote-processing BASIC for the CX-10 Modbus Manual de usuario Pagina 40

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 84
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 39
BASIC PROGRAMMING GUIDE
2-31
LOG
Syntax: LOG (
expr
)
Function: Returns the natural logarithm (base "e") of
expr
which must evaluate to greater than zero. Calculated
to seven significant digits.
Mode: Command, run
Use: PRINT LOG(COS(0))
ERRORS
ARITH. UNDERFLOW
expr
or result is less than BASIC-52's smallest floating-point value of ± 1E-127
ARITH. OVERFLOW
expr
or result is greater than BASIC-52's largest floating point value of ±
.99999999E+127
BAD ARGUMENT Attempt to take LOG() of zero
EXAMPLE
100 PRINT EXP(-200), LOG(1.383901E-87)
>run
1.383901 E-87 -200
Vista de pagina 39
1 2 ... 35 36 37 38 39 40 41 42 43 44 45 ... 83 84

Comentarios a estos manuales

Sin comentarios