Math functions Flashcards
1
Q
abs()
A
return absolute value
2
Q
exp()
A
calculate exponent of e
3
Q
fmod()
A
returns the floating point remainder (modulo) of the division
4
Q
log10()
A
base-10 logarithm
5
Q
log()
A
natural logarithm
6
Q
max()
A
find highest value
7
Q
min()
A
find lowest value
8
Q
pi()
A
get value of pi
9
Q
pow(base, exp)
A
exponential expression
10
Q
sqrt()
A
square root
11
Q
is_finite()
A
check finite value
12
Q
is_infinite()
A
check infinite value
13
Q
is_nan()
A
check not a number
14
Q
base_convert()
A
convert number between bases
15
Q
decbin()
A
convert to binary
16
Q
bindec()
A
convert to decimal
17
Q
dechex()
A
convert to hexadec
18
Q
hexdec()
A
convert to decimal