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 Math.min calls or converting

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

2025-01-20 Thread Per Minborg
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 Math.min calls or converting

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 Math.min calls or converting

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