Re: RFR: JDK-8348030 : Extend Math.min and Math.max to support multiple parameters [v2]

2025-02-07 Thread Aviad Zer
On Mon, 20 Jan 2025 11:43:13 GMT, Aviad Zer wrote: >> This change extends the Math.min function to support multiple parameters, >> improving its usability and code readability. >> >> Previously, finding the minimum value among multiple variables required >>

Proposal to extend Math.min and Math.max to support multiple parameters

2025-01-22 Thread Aviad Zer
rstand that significant changes like this may require a CSR, and I am fully prepared to follow the process once I have a response from the community. Thank you for your time and consideration. I look forward to hearing your thoughts and engaging with the community on this proposal. Best regards,

Re: RFR: JDK-8348030 : Extend Math.min and Math.max to support multiple parameters [v2]

2025-01-20 Thread Aviad Zer
On Mon, 20 Jan 2025 11:43:13 GMT, Aviad Zer wrote: >> This change extends the Math.min function to support multiple parameters, >> improving its usability and code readability. >> >> Previously, finding the minimum value among multiple variables required >>

Re: RFR: JDK-8348030 : Extend Math.min and Math.max to support multiple parameters [v2]

2025-01-20 Thread Aviad Zer
On Mon, 20 Jan 2025 11:48:20 GMT, Martin Desruisseaux wrote: >> Aviad Zer has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Update Math.java by adding extended max function > > Aren't `Math.min(values)`

Re: RFR: JDK-8348030 : Extend Math.min and Math.max to support multiple parameters

2025-01-20 Thread Aviad Zer
On Wed, 15 Jan 2025 14:26:32 GMT, Aviad Zer wrote: > This change extends the Math.min function to support multiple parameters, > improving its usability and code readability. > > Previously, finding the minimum value among multiple variables required using > nested Ma

Re: RFR: JDK-8348030 : Extend Math.min and Math.max to support multiple parameters [v2]

2025-01-20 Thread Aviad Zer
. > Offers consistency with existing Math.min usage patterns. Aviad Zer has updated the pull request incrementally with one additional commit since the last revision: Update Math.java by adding extended max function - Changes: - all: https://git.openjdk.org/jdk/pull/23138/fil

Re: RFR: JDK-8348030 : Extend Math.min to support multiple parameters

2025-01-20 Thread Aviad Zer
On Wed, 15 Jan 2025 14:26:32 GMT, Aviad Zer wrote: > This change extends the Math.min function to support multiple parameters, > improving its usability and code readability. > > Previously, finding the minimum value among multiple variables required using > nested Ma

Re: RFR: JDK-8348030 : Extend Math.min to support multiple parameters

2025-01-18 Thread Aviad Zer
On Wed, 15 Jan 2025 14:26:32 GMT, Aviad Zer wrote: > This change extends the Math.min function to support multiple parameters, > improving its usability and code readability. > > Previously, finding the minimum value among multiple variables required using > nested Ma

RFR: JDK-8348030 : Extend Math.min to support multiple parameters

2025-01-18 Thread Aviad Zer
This change extends the Math.min function to support multiple parameters, improving its usability and code readability. Previously, finding the minimum value among multiple variables required using nested Math.min calls or converting the variables into an array and iterating through it. This en