A
AEL Evaluation Symbols
The following tables contain information on suffixes, converters, constants, mathematical functions, and operators used in AEL expressions. This information is included as a quick reference to standards used in AEL.
Suffixes
|
Character
|
Name
|
Multiplier
|
Examples
|
|
Y
|
Yotta
|
1024
|
10Y [ 10e+24 ]
|
|
Z
|
Zetta
|
1021
|
10Z [ 10e+21 ]
|
|
E
|
Exa
|
1018
|
10E [ 10e+18 ]
|
|
P
|
Peta
|
1015
|
10P [ 10e+15 ]
|
|
T
|
Tera
|
1012
|
10T [ 10e+12 ]
|
|
G
|
Giga
|
109
|
10G [ 10,000,000,000 ]
|
|
M
|
Mega
|
106
|
10M [ 10,000,000 ]
|
|
k or K
|
kilo
|
103
|
10k [ 10,000 ]
|
|
%
|
percent
|
10-2
|
5% [ 0.05 ]
|
|
m
|
milli
|
10-3
|
5m [ 5.0e-3 ]
|
|
u
|
micro
|
10-6
|
1.2u [ 1.2e-6 ]
|
|
n
|
nano
|
10-9
|
1.2n [ 1.2e-9 ]
|
|
p
|
pico
|
10-12
|
1.2p [ 1.2e-12 ]
|
|
f
|
femto
|
10-15
|
1.2f [ 1.2e-15 ]
|
|
a
|
atto
|
10-18
|
1.2a [ 1.2e-18 ]
|
|
z
|
zepto
|
10-21
|
1.2z [ 1.2e-21 ]
|
|
y
|
yocto
|
10-24
|
1.2y [ 1.2e-24 ]
|
|
Suffix
|
Meaning
|
|
T
|
Tera (1e12)
|
|
G
|
Giga (1e9)
|
|
M
|
Mega (1e6)
|
|
K, k
|
Kilo (1e3)
|
|
%
|
percent (1e-2)
|
|
m
|
milli (1e-3)
|
|
u
|
micro (1e-6)
|
|
n
|
nano (1e-9)
|
|
p
|
pico (1e-12)
|
|
f
|
femto (1e-15)
|
|
a
|
atto (1e-18)
|
Converters
|
Converter
|
Converts from
|
Converts to
|
|
mil
|
thousandths of an inch
|
meters
|
|
dBW
|
decibel watts
|
watts
|
|
dBm
|
decibel milliwatts
|
watts
|
|
deg
|
degrees
|
radians
|
|
degC
|
Celsius
|
Kelvin
|
|
degF
|
Fahrenheit
|
Kelvin
|
Constants
|
Constant
|
Definition
|
|
boltzmann
|
1.380622e-23
|
|
charge
|
1.6021917e-19
|
|
degPerRad
|
57.2957795130823208772
|
|
epp0
|
8.854e-12
|
|
pi
|
3.14159265358979323846
|
|
sqrt2
|
1.41421356237309504880
|
|
twoPi
|
6.28318530717958647688
|
Mathematical Functions
|
Function
|
Description
|
|
acos(x)
|
returns arc cosine of x
|
|
acosh(x)
|
returns hyperbolic arc cosine of x
|
|
asin(x)
|
returns arc sine of x
|
|
asinh(x)
|
returns hyperbolic arc sine of x
|
|
atan(x)
|
returns arc tangent of x
|
|
atan2(x, y)
|
returns arctan (y/x) (handles zero case)
|
|
atanh(x)
|
returns hyperbolic arc tangent of x
|
|
ceil(x)
|
Returns the integer of x raised to the closest integer value
|
|
complex(x1,x2)
|
Returns a complex number with the i and j of x1 and x2 respectively
|
|
conjugate(x)
|
Returns the complex conjugate of x
|
|
cos(x)
|
returns cosine of x
|
|
cosh(x)
|
returns hyperbolic cosine of x
|
|
exp(x)
|
returns exponent of x
|
|
fabs(x)
|
returns floating-point absolute value of x
|
|
floor(x)
|
Returns the integer of x lowered to the closest integer value
|
|
hypot(x,y)
|
returns hypotenus for sides x,y
|
|
ln(x)
|
returns natural log of x
|
|
log(x)
|
returns natural log of x
|
|
log10(x)
|
returns log of x
|
|
pow(x,y)
|
returns x raised to power y
|
|
sin(x)
|
returns sine of x
|
|
sinh(x)
|
returns hyperbolic sine of x
|
|
sqrt(x)
|
returns square root of x
|
|
tan(x)
|
returns tangent of x
|
|
tanh(x)
|
returns hyperbolic tangent of x
|
Mathematical Operators
|
Operator
|
Definition
|
|
-
|
unary minus
|
|
!
|
unary not
|
|
~
|
unary 1’s complement
|
|
**
|
exponentiation
|
|
*
|
multiply
|
|
/
|
divide
|
|
+
|
plus
|
|
-
|
binary minus
|
|
<<
|
left shift
|
|
>>
|
right shift
|
|
<
|
less than
|
|
<=
|
less than or equal to
|
|
>=
|
greater than or equal to
|
|
>
|
greater than
|
|
==
|
equal to (equality, not assignment)
|
|
!=
|
not equal to (equality, not assignment)
|
|
&
|
bitwise AND
|
|
^
|
bitwise exclusive OR
|
|
|
|
bitwise inclusive OR
|
|
&&
|
logical AND
|
|
||
|
logical OR
|
|
?:
|
conditional expression (as in C)
|
Return to top