Functions

Functions can be used by inserting the name of the function followed by the function argument. If the argument is not a number or variable then use parenthesis around the argument.

sin 30

abs (5−9)

The following functions are defined.

abs

Absolute Value

cos

Cosine

cosh

Hyperbolic Cosine

frac

Fractional Component

int

Integer Component

ln

Natural Logarithm

log

Logarithm

not

Boolean NOT

ones

Ones complement

sin

Sine

sinh

Hyperbolic Sine

sqrt

Square Root

tan

Tangent

tanh

Hyperbolic Tangent

twos

Twos complement

GCalctool does not support user-defined functions.