Next: Function Pointers, Previous: Functions, Up: Expression Evaluator [Index]
The x1f4_e4_defaults
function set implements a few common mathematical
and text generalities.
The x1f4_e4_defaults
object is an x1f4_function_type
array in
which the last element has the name
set to NULL
.
See x1f4_e4_defaults.
See x1f4_e4_computables.
Among the include functions:
is the in degrees specified arc cosine of x
is the in degrees specified smallest angle between degrees x and degrees y (or something)
is same as ‘Gacos’(x)
is the in degrees specified arc tangent of y / x, signs of both x and y being used to determine the quadrant of the result (same as ‘Gatan2’(y, x))
is same as ‘Gadiff’(x, y)
is same as ‘Gasin’(x)
is same as ‘Gatan’(x)
is same as ‘Gatan2’(y, x)
is the in degrees specified arc sine of x
is the in degrees specified arc tangent of x
is the in degrees specified arc tangent of y / x, signs of both x and y being used to determine the quadrant of the result
is the cosine of degrees x
is the positively defined, in radians specified arc tangent of y / x, signs of both x and y being used to determine the quadrant of the result (same as ‘Gpatan2’(y, x))
is same as ‘Gpatan2’(y, x)
is the positively defined, in degrees specified arc tangent of y / x, signs of both x and y being used to determine the quadrant of the result
is the sine of degrees x
is the tangent of degrees x
is same as ‘Gtan’(x)
is the absolute value of m
is the in radians specified arc cosine of x
is the in radians specified smallest angle between radians x and radians y (or something)
is same as ‘acos’(x)
is the in radians specified arc tangent of y / x, signs of both x and y being used to determine the quadrant of the result (same as ‘atan2’(y, x))
is same as ‘adiff’(x, y)
is same as ‘asin’(x)
is same as ‘atan’(x)
is same as ‘atan2’(y, x)
is the in radians specified arc sine of x
is the in radians specified arc tangent of x
is the in radians specified arc tangent of y / x, signs of both x and y being used to determine the quadrant of the result
is the greatest power of 2 less than or equal to m if m is not less than zero, some undefined value otherwise
is the m bitcount (i.e. the number of bits set in m)
is z
is the up rounded value of x
is the (positively defined value of the) mth character of s, if such character exists, 0 otherwise (negative position indications are interpreted with respect to the end of string)
See Negative Indices.
is 0 if s is (case sensitive) same as t, less than 0 if s is less than t and greater than 0 if s is greater than t
is the cosine of radians x
is the lesser power of 2 greater than or equal to m if m is not less than zero, some undefined value otherwise
is a pseudo-random integer between inclusive 0 and m
is s
is the value of e (the base of natural logarithms) raised to the power of x
is the value of 2 raised to the power of x
is the absolute value of x
is the minimum between max and the maximum between x and min
is the 1 based position of the first (least significant) bit set in m if any, 0 otherwise
is the down rounded value of x
is the 1 based position of the last (most significant) bit set in m if any, 0 otherwise
is the maximum of x and y
is the minimum of x and y
is the remainder of dividing x by y, more specifically x - n * y, where n is the quotient of x / y, rounded toward zero to an integer
is the same sign as x fractional part of x
is the position of the last occurrence of the c non zero character in the s string if any, -1 otherwise
is a pseudo-random real between 0 and 1
is -1 if x is negative, 0 of x is zero, 1 otherwise
is the greatest common denominator of m and n
is the minimum between max and the maximum between m and min
is 0 if s is (case insensitive) same as t, non 0 otherwise
is 0 if t wild card (case insensitive) matches the s pattern (the * and ? literal sign are interpreted as for their shell pattern equivalents), non 0 otherwise
is the same sign as x integral part of x
is the position of the first occurrence of the c non zero character in the s string if any, -1 otherwise
is the first character of s, if such character exists, 0 otherwise
is m
is a pseudo-random integer between inclusive m and n
is the length of s
is the away from zero rounded value of x
is same as ‘log’(x)
is the natural logarithm of x
is the base 10 logarithm of x
is the base 2 logarithm of x
is a pseudo-random real between -1 and 1
is the m leading zero bits count, same as ‘xls’(m)
is 0 if t wild card (case sensitive) matches the s pattern (the * and ? literal sign are interpreted as for their shell pattern equivalents), non 0 otherwise
is the maximum of m and n
is the minimum of m and n
is the same sign as x fractional part of x, y is the same sign as x integral part of x
is the positively defined, in radians specified arc tangent of y / x, signs of both x and y being used to determine the quadrant of the result (same as ‘patan2’(y, x))
is same as ‘patan2’(y, x)
is the positively defined, in radians specified arc tangent of y / x, signs of both x and y being used to determine the quadrant of the result
is the value of x raised to the power of y
is s after position m (negative position indications are interpreted with respect to the end of string, m is clipped to fall inside s)
See Negative Indices.
is x
is the towards nearest integer, half cases away from zero rounded value of x
is -1 if m is negative, 0 of m is zero, 1 otherwise
is z
is the sine of radians x
is the square of x
is the square root of x
is the tangent of radians x
is same as ‘tan’(x)
is the towards zero rounded value of x
is the m trailing zero bits count, same as ‘xfs’(m)
is m
is the 0 based position of the first (least significant) bit set in m if any, the number of bits in m otherwise (same as ‘tz’(m))
is the 0 based position of the last (most significant) bit set in m if any, the number of bits in m otherwise (same as ‘lz’(m))
The literals cardinal, integer, real, text and void designate the cardinal, integer, real, string and void types, respectively.
Next: Function Pointers, Previous: Functions, Up: Expression Evaluator [Index]