' Exponential and logarithmic: EXP, LOG, LOG10, LOG2, EXP2, EXP10, SQR
#COMPILE EXE
#DIM ALL

FUNCTION PBMAIN() AS LONG
    LOCAL x AS DOUBLE

    x = 2.0

    PRINT "x ="; x
    PRINT "EXP(x):"; EXP(x)
    PRINT "LOG(x):"; LOG(x)
    PRINT "LOG10(x):"; LOG10(x)
    PRINT "LOG2(x):"; LOG2(x)
    PRINT "EXP2(3.0):"; EXP2(3.0)
    PRINT "EXP10(2.0):"; EXP10(2.0)
    PRINT "SQR(16.0):"; SQR(16.0)
    PRINT "SQR(2.0):"; SQR(2.0)
    PRINT "EXP(LOG(2.0)):"; EXP(LOG(2.0))

    FUNCTION = 0
END FUNCTION
