Skip to content

Commit c680de0

Browse files
committed
formatting
1 parent da09f7d commit c680de0

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

libc/include/math.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,19 +79,19 @@ functions:
7979
arguments:
8080
- type: _Float16
8181
guard: LIBC_TYPES_HAS_FLOAT16
82-
- name: atan
83-
standards:
84-
- stdc
85-
return_type: double
86-
arguments:
87-
- type: double
8882
- name: asinpif16
8983
standards:
9084
- stdc
9185
return_type: _Float16
9286
arguments:
9387
- type: _Float16
9488
guard: LIBC_TYPES_HAS_FLOAT16
89+
- name: atan
90+
standards:
91+
- stdc
92+
return_type: double
93+
arguments:
94+
- type: double
9595
- name: atan2
9696
standards:
9797
- stdc

libc/test/src/math/smoke/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3990,10 +3990,9 @@ add_fp_unittest(
39903990
SRCS
39913991
asinpif16_test.cpp
39923992
DEPENDS
3993-
libc.src.math.asinpif16
3993+
libc.src.math.asinpif16
39943994
libc.src.errno.errno
39953995
libc.src.math.fabs
3996-
libc.src.__support.FPUtil.fp_bits
39973996
)
39983997

39993998
add_fp_unittest(

libc/test/src/math/smoke/asinpif16_test.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8+
89
#include "src/__support/libc_errno.h"
910
#include "src/math/asinpif16.h"
1011
#include "src/math/fabs.h"
@@ -70,10 +71,10 @@ TEST_F(LlvmLibcAsinpif16Test, OutOfRange) {
7071

7172
TEST_F(LlvmLibcAsinpif16Test, SymmetryProperty) {
7273
// Test that asinpi(-x) = -asinpi(x)
73-
constexpr float16 test_vals[] = {0.1f16, 0.25f16, 0.5f16, 0.75f16,
74+
constexpr float16 TEST_VALS[] = {0.1f16, 0.25f16, 0.5f16, 0.75f16,
7475
0.9f16, 0.99f16, 1.0f16};
7576

76-
for (float16 x : test_vals) {
77+
for (float16 x : TEST_VALS) {
7778
float16 pos_result = LIBC_NAMESPACE::asinpif16(x);
7879
float16 neg_result = LIBC_NAMESPACE::asinpif16(-x);
7980

0 commit comments

Comments
 (0)