Skip to content

Commit f0e8bf9

Browse files
committed
update docs
1 parent ab8059f commit f0e8bf9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libc/docs/math/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ Higher Math Functions
280280
+-----------+------------------+-----------------+------------------------+----------------------+------------------------+------------------------+----------------------------+
281281
| cosh | |check| | | | |check| | | 7.12.5.4 | F.10.2.4 |
282282
+-----------+------------------+-----------------+------------------------+----------------------+------------------------+------------------------+----------------------------+
283-
| cospi | |check| | | | | | 7.12.4.12 | F.10.1.12 |
283+
| cospi | |check| | | | |check| | | 7.12.4.12 | F.10.1.12 |
284284
+-----------+------------------+-----------------+------------------------+----------------------+------------------------+------------------------+----------------------------+
285285
| dsqrt | N/A | N/A | |check| | N/A | |check|\* | 7.12.14.6 | F.10.11 |
286286
+-----------+------------------+-----------------+------------------------+----------------------+------------------------+------------------------+----------------------------+

libc/src/math/generic/exp10f16.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ LLVM_LIBC_FUNCTION(float16, exp10f16, (float16 x)) {
124124

125125
// 10^x = 2^((hi + mid) * log2(10)) * 10^lo
126126
auto [exp2_hi_mid, exp10_lo] = exp10_range_reduction(x);
127-
return static_cast<float16>(exp2_hi_mid * exp10_lo);
127+
return fputil::cast<float16>(exp2_hi_mid * exp10_lo);
128128
}
129129

130130
} // namespace LIBC_NAMESPACE_DECL

0 commit comments

Comments
 (0)