Remote-processing BASIC 52 Manuel d'utilisateur Page 81

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 163
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 80
RPBASIC-52 PROGRAMMING GUIDE
2-62
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))
Cards: All
ERRORS
ARITH. UNDERFLOW expr or result is less than RPBASIC-52's smallest floating-point value of ± 1E-127
ARITH. OVERFLOW expr or result is greater than RPBASIC-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
Vue de la page 80
1 2 ... 76 77 78 79 80 81 82 83 84 85 86 ... 162 163

Commentaires sur ces manuels

Pas de commentaire