Remote-processing BASIC 52 Instrukcja Użytkownika Strona 81

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 163
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 80
1 2 ... 76 77 78 79 80 81 82 83 84 85 86 ... 162 163

Komentarze do niniejszej Instrukcji

Brak uwag