GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Download
  • News
  • Community
  • Resources
  • Language Reference
  • SmallBASIC Manual

This view

  • Original page
  • New address

GeezerVison is showing smallbasic.github.io — SmallBASIC | LOG

Edit History

LOG

f = LOG (x)

Home > Reference > Math

Returns the natural logarithm of x.

Example:

a = exp(2)
print a       ' Output: 7.389....

b = log(a)
print b       ' Output: 2
Code samples using LOG
2048.bas   analog clock.bas   clock.bas   coordplot.bas   cube3d.bas   Eliza.bas   eliza.bas   func.bas   galgenmann.bas   gobble_solver.bas   gui_cal.bas   humidity.bas   image_demo.bas   index.bas   irc-bot.bas   klotski_solver.bas   leastq.bas   loancalc.bas   navigation.bas   realpolitik.bas   recognition_training.bas   recognition_training_az.bas   scales132.bas   shooter.bas   Simple_3D.bas   space shooter.bas   startrek.bas   startrek.bas   TinyBASIC.bas  
Math
ABS   ABSMAX   ABSMIN   ACOS   ACOSH   ACOT   ACOTH   ACSC   ACSCH   ASEC   ASECH   ASIN   ASINH   ATAN   ATAN2   ATANH   ATN   CEIL   COS   COSH   COT   COTH   CSC   CSCH   DEG   DERIV   DETERM   DIFFEQN   EXP   EXPRSEQ   FIX   FLOOR   FRAC   INT   INTERSECT   INVERSE   LINEQN   LOG   LOG10   M3APPLY   M3IDENT   M3ROTATE   M3SCALE   M3TRANS   MAX   MIN   POLYAREA   POLYCENT   POLYEXT   POW   PTDISTLN   PTDISTSEG   PTSIGN   RAD   RND   ROOT   ROUND   SEC   SECH   SEGCOS   SEGLEN   SEGSIN   SEQ   SGN   SIN   SINH   SQR   STATMEAN   STATMEANDEV   STATMEDIAN   STATSPREADP   STATSPREADS   STATSTD   SUM   SUMSQ   TAN   TANH   TRANSPOSE  
This page was last edited on Tue, 30 May 2023 15:47:00 +0200 | Markdown processed with pandoc 3.1.12.1
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.