Math functions Flashcards

(46 cards)

1
Q

abs()

A

return absolute value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

exp()

A

calculate exponent of e

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

fmod()

A

returns the floating point remainder (modulo) of the division

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

log10()

A

base-10 logarithm

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

log()

A

natural logarithm

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

max()

A

find highest value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

min()

A

find lowest value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

pi()

A

get value of pi

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

pow(base, exp)

A

exponential expression

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

sqrt()

A

square root

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

is_finite()

A

check finite value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

is_infinite()

A

check infinite value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

is_nan()

A

check not a number

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

base_convert()

A

convert number between bases

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

decbin()

A

convert to binary

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

bindec()

A

convert to decimal

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

dechex()

A

convert to hexadec

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

hexdec()

A

convert to decimal

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

decoct()

A

convert to octal

20
Q

octdec()

A

convert to decimal

21
Q

deg2rad()

A

convert to radian

22
Q

rad2deg()

A

convert to degree

23
Q

getrandmax()

A

show largest possible random value

24
Q

mt_getrandmax()

A

show largest possible random value

25
rand()
generate a random integer
26
mt_rand()
generate a random integer
27
srand()
seed the random generator
28
mt_srand()
seed the random generator
29
lcg_value()
returns a pseudo random number in the range of (0, 1)
30
ceil()
round fractions up
31
floor()
round fractions down
32
round()
round a float
33
sin()
sine
34
sinh()
hyperbolic sine
35
asin()
arc sine
36
asinh()
inv. hyperbolic sine
37
cos()
cosine
38
cosh()
hyperbolic cosine
39
acos()
arc cosine
40
acosh()
inv. hyperbolic cosine
41
tan()
tangent
42
tanh()
hyperbolic tangent
43
atan()
arc tangent
44
atanh()
inv. hyperbolic tangent
45
atan2()
arc tangent of 2 var
46
hypot()
calculate hypotenuse