Skip to content

Commit 81bfe07

Browse files
committed
replace clz
1 parent f2b555d commit 81bfe07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numeric_types/half.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#include <cstdint>
88
#include <cstdio>
99

10-
// A simple function that counts leading zeros in a 16-bit number.
10+
// Counts leading zeros in a 16-bit number.
1111
static inline uint16_t half_clz16(uint16_t value) {
1212
uint16_t count = 0;
1313
// Start at the highest bit (0x8000)

0 commit comments

Comments
 (0)