# Why are there individual keywords for different multiples of π

**URL:** <https://discourse.processing.org/t/why-are-there-individual-keywords-for-different-multiples-of/48519>\
**Category:** Beginners\
**Created:** [May 8, 2026, 1:21pm UTC](https://discourse.processing.org/t/why-are-there-individual-keywords-for-different-multiples-of/48519 "2026-05-08T13:21:00Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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:** [May 8, 2026, 3:22pm UTC](https://discourse.processing.org/t/why-are-there-individual-keywords-for-different-multiples-of/48519/5 "2026-05-08T15:22:10Z")

</div>

> [@quark](#):
>
> … also `TWO_PI` saves a multiplication operation every time it is used.

When they’re clustered together, like `5 - THIRD_PI * RAD_TO_DEG`, Java can replace literals and `final` variables operations as 1 “compile-time constant” value:  
[https://www.Baeldung.com/java-compile-time-constants](https://www.Baeldung.com/java-compile-time-constants)

---

_[View the full topic](https://discourse.processing.org/t/why-are-there-individual-keywords-for-different-multiples-of/48519)._
