O'Reilly logo
  • You Wang thinks this is interesting:

The arithmetic operators +, -, *, and / are defined for double. Beyond these built-in operators, the Java Math library defines the square root function, trigonometric functions, logarithm/exponential functions, and other common functions for floating-point numbers

From

Cover of Computer Science: An Interdisciplinary Approach

Note

Use Java's Math library for common math operations.