Integrated: JDK-8283124: Add constant for tau to Math and StrictMath

Joe Darcy darcy at openjdk.java.net
Tue Mar 15 16:25:45 UTC 2022


On Mon, 14 Mar 2022 20:52:39 GMT, Joe Darcy <darcy at openjdk.org> wrote:

> Add a constant for tau, 2*pi, to Math and StrictMath. Since 2*pi is a very common value in mathematical formulas, it is helpful to give it a distinct constant.
> 
> Please also review the CSR https://bugs.openjdk.java.net/browse/JDK-8283136

This pull request has now been integrated.

Changeset: 05a83e03
Author:    Joe Darcy <darcy at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/05a83e03ca35b4885b48bb0e7d188baf8f7d9d7f
Stats:     29 lines in 2 files changed: 26 ins; 0 del; 3 mod

8283124: Add constant for tau to Math and StrictMath

Reviewed-by: bpb, iris

-------------

PR: https://git.openjdk.java.net/jdk/pull/7813


More information about the core-libs-dev mailing list