Math functions Flashcards

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
Q

rand()

A

generate a random integer

26
Q

mt_rand()

A

generate a random integer

27
Q

srand()

A

seed the random generator

28
Q

mt_srand()

A

seed the random generator

29
Q

lcg_value()

A

returns a pseudo random number in the range of (0, 1)

30
Q

ceil()

A

round fractions up

31
Q

floor()

A

round fractions down

32
Q

round()

A

round a float

33
Q

sin()

A

sine

34
Q

sinh()

A

hyperbolic sine

35
Q

asin()

A

arc sine

36
Q

asinh()

A

inv. hyperbolic sine

37
Q

cos()

A

cosine

38
Q

cosh()

A

hyperbolic cosine

39
Q

acos()

A

arc cosine

40
Q

acosh()

A

inv. hyperbolic cosine

41
Q

tan()

A

tangent

42
Q

tanh()

A

hyperbolic tangent

43
Q

atan()

A

arc tangent

44
Q

atanh()

A

inv. hyperbolic tangent

45
Q

atan2()

A

arc tangent of 2 var

46
Q

hypot()

A

calculate hypotenuse