Math Flashcards

1
Q

Returns the absolute value of a double value

A

abs(double a)

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

Returns the absolute value of a float value

A

abs(float a)

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

Returns the absolute value of an int value

A

abs(int a)

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

Returns the absolute value of a long value

A

abs(long a)

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

Returns the arc cosine of a value; the returned angle is in the range 0.0 through pi

A

acos(double a)

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

Returns the sum of its arguments, throwing an exception if the result overflows an int.

A

addExact(int x, int y)

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

Returns the sum of its arguments, throwing an exception if the result overflows a long.

A

addExact(long x, long y)

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

Returns the arc sine of a value; the returned angle is in the range -pi/2 through pi/2.

A

asin(double a)

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

Returns the arc tangent of a value; the returned angle is in the range -pi/2 through pi/2.

A

atan(double a)

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