Is it possible higher precision than double?

Make sure to use constants & methods from Math class only and all non-integer numerical literals are suffixed w/ d: :warning:

Docs.Oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Math.html

  • TAU2 * Math.PI
  • cos(PI)Math.cos(Math.PI)
  • -5.4-5.4d
  • 1e31e3d
3 Likes