AH'TALIQUAE ENGLISH/Extension

From Esolang
Jump to navigation Jump to search
Main Page: AH'TALIQUAE ENGLISH

MATH

Caption text
CMD Meaning
THE SINE VALUE OF [A] sin(A)
THE COSINE VALUE OF [A] cos(A)
THE TANGENT VALUE OF [A] tan(A)
THE COTANGENT VALUE OF [A] ctg(A)
THE SECANT VALUE OF [A] 1/(cos(A))
THE COSECANT VALUE OF [A] 1/(sin(A))
LOGARITHM OF [x] WITH A BASE OF [y] logy(x)
[y]-TH ROOT OF [x] x1/y
[expression] TO THE [expression]-TH POWER Return exp1exp2.
THE GREATEST COMMON DIVISOR OF [x] AND [y](supports at 0.1) gcd(x, y)
THE LEAST COMMON MULTIPLE OF [x] AND [y] lcm(x, y)
THE AVERAGE NUMBER OF x0 AND x1 (AND x2 (AND x3 (AND ...))) avrg(x0, x1, (x2, (x3, ...)))

RANDOM

Caption text
CMD Meaning
GET A RANDOM NUMBER BETWEEN [x] AND [y] BY USING MODE [z] If z is 0, generate an integer. If z is 1, generate a float. Other value raises an error.
GET A RANDOM ELEMENT FROM THE LIST [l] Self explanatory.

ALGORITHM

Caption text
CMD Supported Version (and Meaning)
SORT THE LIST [l] IMMEDIATELY Support at 0.0 version. Sort the list by comparison "<".
REVERSE THE LIST [l] Support at 0.0 version. Reverse whole list.
WAIT FOR [i] SECONDS Support at 0.2 version. The argument i must be a number.
TODAY A string which is the current date.
CURRENT TIME IN THE TIMEZONE UTC[x] A string which includes the current time in timezone x. If x is positive, then x must written as "+x". If omitted x, then x=0.
CURRENT TIMESTAMP An integer that converts current time to UNIX timestamp. The time is based on the time zone of the Greenwich Observatory in the United Kingdom.
CURRENT TIMESTAMP IN THE TIMEZONE UTC[x] An integer that converts current time to UNIX timestamp with timezone x. If x is positive, then x must written as "+x". If omitted x, then x=0.