Video: Fossil: Definition, Types, Characteristics & Examples. Fossils provide scientists with many clues about Earth's history, offering evidence of dinosaurs and strange plants that existed in the past. This lesson will define a fossil, look at different types and characteristics of fossils, and then describe how fossils are formed.
The final result of the dot product process can be: 1  Zero: we don't have any growth in the original direction. 2  Positive number: we have some growth in the original direction. 3  Negative number: we have negative (reverse) growth in the original direction.
Even so, Java allows for one or both operands to be negative. What is the result? First, do the mod operation as if both numbers are positive, e.g., if you are evaluating x % y, then you should evaluate |x| % |y| (where |x| is the absolute value of x. Then, if the left operand is negative, make the result negative. Thus, -8 % 3 is -2 (left operand is negative) while 8 % -3 is 2 (left operand is positive). Using this rule, the evaluated result is negative if both operands are negative. By the way, there is no absolute value operator in Java. I just needed to pretend it existed to explain the mod operator.