Skip to content

Commit b22f8ba

Browse files
committed
Change and add comments for consistency
1 parent 2f0d352 commit b22f8ba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libc/src/math/generic/log2f16.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- Implementation of log2f16 function --------------------------------===//
1+
//===-- Half-precision log2(x) function -----------------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.
@@ -30,6 +30,7 @@ static constexpr size_t N_LOG2F16_EXCEPTS = 9;
3030

3131
static constexpr fputil::ExceptValues<float16, N_LOG2F16_EXCEPTS>
3232
LOG2F16_EXCEPTS = {{
33+
// (input, RZ output, RU offset, RD offset, RN offset)
3334
#ifndef LIBC_TARGET_CPU_HAS_FMA
3435
// x = 0x1.224p-1, log2f16(x) = -0x1.a34p-1 (RZ)
3536
{0x3889U, 0xba8dU, 0U, 1U, 0U},

0 commit comments

Comments
 (0)