mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
6810672: Comment typos
I have collected some typos I have found while looking at the code. Reviewed-by: kvn, never
This commit is contained in:
parent
67a5668b16
commit
05d1de7727
120 changed files with 278 additions and 277 deletions
|
@ -881,7 +881,7 @@ inline int log2_intptr(intptr_t x) {
|
|||
i++; p *= 2;
|
||||
}
|
||||
// p = 2^(i+1) && x < p (i.e., 2^i <= x < 2^(i+1))
|
||||
// (if p = 0 then overflow occured and i = 31)
|
||||
// (if p = 0 then overflow occurred and i = 31)
|
||||
return i;
|
||||
}
|
||||
|
||||
|
@ -895,7 +895,7 @@ inline int log2_long(jlong x) {
|
|||
i++; p *= 2;
|
||||
}
|
||||
// p = 2^(i+1) && x < p (i.e., 2^i <= x < 2^(i+1))
|
||||
// (if p = 0 then overflow occured and i = 63)
|
||||
// (if p = 0 then overflow occurred and i = 63)
|
||||
return i;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue