Reviewer needed: 6282196 There should be Math.mod(number, modulo) methods

Roger Riggs Roger.Riggs at
Sat Oct 13 16:21:24 UTC 2012

Thanks for the comments and suggestions from Eamonn, Joe, and Bruce.
The updates add the suggested text and note the special case for 

Updated webrev:


On 10/11/2012 08:40 PM, Joseph Darcy wrote:
> Hi Roger,
> The changes look fine.  However, I suggest adding an explanatory note 
> along the lines of "Normal integer division operates under the round 
> to zero rounding mode (truncation).  This operation instead acts under 
> the round to negative infinity (floor) rounding mode. The floor 
> rounding mode gives different results than truncation when the exact 
> result is negative."
> Thanks,
> -Joe
> On 10/10/2012 7:22 AM, Roger Riggs wrote:
>> A reviewer is needed for:
>> 6282196 There should be Math.mod(number, modulo) methods
>> The webrev is:
>> Thanks, Roger

More information about the core-libs-dev mailing list