Skip to content

Commit 57eb503

Browse files
cratonicarupprecht
authored andcommitted
[libc] Add bazel definition for hypot/hypotf.
Patch by Clint Caywood. Differential Revision: https://reviews.llvm.org/D118053
1 parent 11cea7e commit 57eb503

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

utils/bazel/llvm-project-overlay/libc/BUILD.bazel

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ fputil_common_hdrs = [
7575
"src/__support/FPUtil/FEnvUtils.h",
7676
"src/__support/FPUtil/FPBits.h",
7777
"src/__support/FPUtil/FloatProperties.h",
78+
"src/__support/FPUtil/Hypot.h",
7879
"src/__support/FPUtil/ManipulationFunctions.h",
7980
"src/__support/FPUtil/NearestIntegerOperations.h",
8081
"src/__support/FPUtil/NormalFloat.h",
@@ -371,6 +372,10 @@ libc_math_function(name = "frexpf")
371372

372373
libc_math_function(name = "frexpl")
373374

375+
libc_math_function(name = "hypot")
376+
377+
libc_math_function(name = "hypotf")
378+
374379
libc_math_function(name = "logb")
375380

376381
libc_math_function(name = "logbf")

0 commit comments

Comments
 (0)