Skip to content

Commit 7c0054b

Browse files
paldepindgeoffw0
andauthored
C++: Tweak a comment in simple range analysis
Co-authored-by: Geoffrey White <[email protected]>
1 parent f5ddb1d commit 7c0054b

File tree

1 file changed

+1
-1
lines changed
  • cpp/ql/test/library-tests/rangeanalysis/SimpleRangeAnalysis

1 file changed

+1
-1
lines changed

cpp/ql/test/library-tests/rangeanalysis/SimpleRangeAnalysis/test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ int test_mult05(int a, int b) {
335335

336336
// Tests for shift operators.
337337
unsigned long long test_shift(unsigned long long a) {
338-
// `odd` is the largest odd integer that can be represented by a double.
338+
// `odd` is the largest odd integer that can be precisely represented by a double.
339339
unsigned long long odd = 9007199254740992 - 1; // 2^53 - 1
340340
// Shifting right by by 1 give an upper bound that is half of `odd` rounded down.
341341
unsigned long long shifted = odd >> 1;

0 commit comments

Comments
 (0)