File size: 378 Bytes
cd0c274
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
See the documentation for Java's Math class:
https://docs.oracle.com/en/java/javase/11/docs/api/index.html
Match the method and its meaning!


abs
exp
log
floor
max

signum - -1, 0, 1 based on the 'sign' eg for neg/0/pos respectively
negateExact - returns the negation. eg 12 -> -12. -3 -> 3

https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Math.html