Eliminate superfluous semicolons.
Merge pull request #471 from jaredhoberock/semicolons

Eliminate superfluous semicolons.
Add missing #include <cmath>.
Merge pull request #473 from jaredhoberock/complex-cmath

Add missing #include <cmath>.
Replace lower_bound -> upper_bound in upper_bound documentation

Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
Merge pull request #474 from zyv/upper_bound_doc

Replace lower_bound -> upper_bound in upper_bound documentation
Fix examples of equals with BinaryPredicate

The __host__ __device__ attributes must be added to the operator,
not to the struct, and the operator must be declared as constant.
I also fixed the number of elements in the arrays.
Merge pull request #475 from Garthof/master

Fix examples of equals with BinaryPredicate