Skip to content

Commit df87e20

Browse files
committed
fixup! [libc][math][c23] Add f16divf C23 math function
1 parent b1074ae commit df87e20

File tree

1 file changed

+1
-2
lines changed
  • libc/src/__support/FPUtil/generic

1 file changed

+1
-2
lines changed

libc/src/__support/FPUtil/generic/div.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,7 @@ div(InType x, InType y) {
140140
result = OutFPBits::create_value(
141141
result_sign,
142142
static_cast<OutStorageType>(q_exponent + OutFPBits::EXP_BIAS),
143-
static_cast<OutStorageType>((q >> Q_EXTRA_FRACTION_LEN) &
144-
OutFPBits::SIG_MASK))
143+
static_cast<OutStorageType>(q >> Q_EXTRA_FRACTION_LEN))
145144
.uintval();
146145

147146
} else {

0 commit comments

Comments
 (0)