# Is it possible higher precision than double?

**URL:** <https://discourse.processing.org/t/is-it-possible-higher-precision-than-double/13764>\
**Category:** Beginners\
**Created:** [September 2, 2019, 12:01pm UTC](https://discourse.processing.org/t/is-it-possible-higher-precision-than-double/13764 "2019-09-02T12:01:28Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [September 2, 2019, 1:24pm UTC](https://discourse.processing.org/t/is-it-possible-higher-precision-than-double/13764/4 "2019-09-02T13:24:29Z")

</div>

> [@AngelRF](#):
>
> I’m already using `double`,

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

[Docs.Oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Math.html](http://Docs.Oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Math.html)

- `TAU` → `2 * Math.PI`
- `cos(PI)` → `Math.cos(Math.PI)`
- `-5.4` → `-5.4d`
- `1e3` → `1e3d`

---

_[View the full topic](https://discourse.processing.org/t/is-it-possible-higher-precision-than-double/13764)._
