Fandom

Petit Computer Wiki

LOG (Function)

914pages on
this wiki
Add New Page
Comments0 Share

V1Edit

Indications are, LOG in SmileBasic V1 is identical to that in V2.

V2Edit

LOG(number) returns the natural logarithm of number. This is the logarithm base e (about 2.7, commonly used by mathematicians, and sometimes denoted LN), not the logarithm base 10 (commonly used by engineers).

If number is zero or negative, the system reports Illegal function call (LOG).

LOG is (ideally) the inverse function of EXP.

V3Edit

Indications are, LOG in SmileBasic V3 is identical to that in V2.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.