On Wed, 21 Aug 2024 13:24:15 GMT, Maurizio Cimadamore
wrote:
>> This PR fixes two minor issues in the `MemoryLayout` javadoc:
>> * the section describing dereference path talks about `P` and `P'` but then
>> only uses `P` in the code;
>> * the `ceilDiv` math on the `PathElement::sequenceElement
On Wed, 21 Aug 2024 13:24:15 GMT, Maurizio Cimadamore
wrote:
>> This PR fixes two minor issues in the `MemoryLayout` javadoc:
>> * the section describing dereference path talks about `P` and `P'` but then
>> only uses `P` in the code;
>> * the `ceilDiv` math on the `PathElement::sequenceElement
> This PR fixes two minor issues in the `MemoryLayout` javadoc:
> * the section describing dereference path talks about `P` and `P'` but then
> only uses `P` in the code;
> * the `ceilDiv` math on the `PathElement::sequenceElement(long, long)` is
> wrong, as the division returns a negative number
This PR fixes two minor issues in the `MemoryLayout` javadoc:
* the section describing dereference path talks about `P` and `P'` but then
only uses `P` in the code;
* the `ceilDiv` math on the `PathElement::sequenceElement(long, long)` is
wrong, as the division returns a negative number for F < 0