Showing 1 of 1 files from the diff.
@@ -46,7 +46,7 @@
Loading
46 | 46 | ||
47 | 47 | static constexpr uint32_t ExponentMax = (1 << (ExponentWidth - 1)) - 1; |
|
48 | 48 | ||
49 | - | static constexpr uint32_t Bias = ExponentMax; |
|
49 | + | static constexpr int32_t Bias = ExponentMax; |
|
50 | 50 | ||
51 | 51 | // FractionPos is always 0. |
|
52 | 52 | static constexpr uint32_t ExponentPos = FractionWidth; |
@@ -107,7 +107,8 @@
Loading
107 | 107 | uint32_t narrow_fraction = narrow & ((1 << NarrowType::FractionWidth) - 1); |
|
108 | 108 | ||
109 | 109 | // Normalized or zero |
|
110 | - | uint32_t wide_exponent = narrow_exponent - NarrowType::Bias + WideType::Bias; |
|
110 | + | uint32_t wide_exponent = |
|
111 | + | static_cast<int32_t>(narrow_exponent) - NarrowType::Bias + WideType::Bias; |
|
111 | 112 | uint32_t wide_fraction = |
|
112 | 113 | narrow_fraction << (WideType::FractionWidth - NarrowType::FractionWidth); |
|
113 | 114 |
Files | Coverage |
---|---|
fuzz | 1.92% |
src | 56.52% |
test/librawspeed | 97.18% |
Project Totals (235 files) | 60.53% |
macos-latest.XCode.Coverage.Unittests
CXX=AppleXcode ARCH=x86_64 OS=macOS
unittests
windows-latest.MINGW32.GNU.Coverage.Unittests
CXX=GNU ARCH=i686 OS=windows
unittests
linux.GNU.Coverage.Integration
CXX=GNU ARCH=x86_64 OS=linux
integration
rpu_u
windows-latest.MINGW64.GNU.Coverage.Unittests
CXX=GNU ARCH=x86_64 OS=windows
unittests
1 |
codecov: |
2 |
notify: |
3 |
require_ci_to_pass: true |
4 |
coverage: |
5 |
precision: 2 |
6 |
range: "0...100" |
7 |
round: down |
8 |
status: |
9 |
changes: false |
10 |
patch: false |
11 |
project: false |
12 |
ignore: |
13 |
- test/.* |
14 |
notify: |
15 |
irc: |
16 |
default: |
17 |
server: "chat.freenode.net" |
18 |
channel: "#rawspeed" |
19 |
parsers: |
20 |
gcov: |
21 |
branch_detection: |
22 |
conditional: true |
23 |
loop: true |
24 |
macro: false |
25 |
method: false |
26 |
comment: |
27 |
behavior: default |
28 |
layout: header, diff |
29 |
require_changes: false |
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file.
The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files.
The size and color of each slice is representing the number of statements and the coverage, respectively.