Please enable JavaScript to view this site.

List of all mathematical/trigonometric functions/instructions available in R3 programming language.

Legend: R = allowed use in Rules - T = allowed use in Tasks - I = Instruction - F = Function (thus has a return value)

Keyword

R

T

F/I

Description

abs()

R

T

F

Absolute value of a quantity

abs_mod()

R

T

F

Remainder of division

acos()

R

T

F

Arco cosine

asin()

R

T

F

Arco sine

atan()

R

T

F

Arco tangent

atan2()

R

T

F

Arco tangent

cos()

R

T

F

Cosine

fract()

R

T

F

Returns the fractional part of the argument

log()

R

T

F

Returns the natural logarithm of the argument

log10()

R

T

F

Returns the base10 logarithm of the argument

mod()

R

T

F

Returns the remainder of the division between numeric variables

pow()

R

T

F

Exponentiation

rand32()

R

T

F

Returns a random number (i32)

random()

R

T

F

Returns a random number (i16)

random_value()

R

T

F

Returns a random number (real)

range()

R

T

F

Check if the variable is in the range

range_adj()

R

T

F

Scaling of a variable

round()

R

T

F

Returns the nearest integer

sign()

R

T

F

Returns the sign of the variable

sin()

R

T

F

Sine

sqrt()

R

T

F

Square root

tan()

R

T

F

Tangent

trunc()

R

T

F

Returns the integer part of the argument

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC