Plugin: Numeric

Numeric operations

Components

NamePropertyData TypeSocket Type
numeric_operationlhsnumberinput
resultnumberoutput
numeric_gatelhsnumberinput
rhsnumberinput
resultnumberoutput

Entity Types

NameComponentsDescription
absnumeric_operationComputes the absolute value
acosnumeric_operationComputes the arccosine of a number
acoshnumeric_operationInverse hyperbolic cosine function
asinnumeric_operationComputes the arcsine of a number
asinhnumeric_operationInverse hyperbolic sine function
atannumeric_operationComputes the arctangent of a number
atan2numeric_gateComputes the four quadrant arctangent in radians
atanhnumeric_operationInverse hyperbolic tangent function
cbrtnumeric_operationReturns the cube root of a number
ceilnumeric_operationReturns the smallest integer greater than or equal to a number
cosnumeric_operationComputes the cosine of a number (in radians)
coshnumeric_operationHyperbolic cosine function
expnumeric_operationReturns e^(input), (the exponential function)
exp2numeric_operationReturns 2^(input)
floornumeric_operationReturns the largest integer less than or equal to a number
fractnumeric_operationReturns the fractional part of a number
hypotnumeric_gateCalculates the length of the hypotenuse of a right-angle triangle given legs of length x and y
lnnumeric_operationReturns the natural logarithm of the number
lognumeric_gateReturns the logarithm of the number with respect to an arbitrary base
log2numeric_operationReturns the base 2 logarithm of the number
log10numeric_operationReturns the base 10 logarithm of the number
pownumeric_gateRaises a number to a power
recipnumeric_operationTakes the reciprocal (inverse) of a number, 1/x
roundnumeric_operationReturns the nearest integer to a number. Round half-way cases away from 0.0
signumnumeric_operationReturns a number that represents the sign of the input
sinnumeric_operationComputes the sine of a number (in radians)
sinhnumeric_operationHyperbolic sine function
sqrtnumeric_operationReturns the square root of a number
tannumeric_operationComputes the tangent of a number (in radians)
tanhnumeric_operationHyperbolic tangent function
to_degreesnumeric_operationConverts radians to degrees
to_radiansnumeric_operationConverts degrees to radians
truncnumeric_operationReturns the integer part of a number

Platform Compatibility

PlatformCompatibility
Linux
MacOS
Windows

Repository

NameRepository
inexor-rgf-plugin-numerichttps://github.com/inexorgame/inexor-rgf-plugin-numeric

Usage