about summary refs log tree commit diff
path: root/library/compiler-builtins/libm/src/math/sqrtf16.rs
diff options
context:
space:
mode:
authorTrevor Gross <tmgross@umich.edu>2025-04-22 19:35:21 -0400
committerTrevor Gross <t.gross35@gmail.com>2025-05-22 13:22:51 +0200
commitdb21837095f18a76d1fecb7d55547688a6b19647 (patch)
treebff772bfcbe8bb17335f6519a54dfb4f44af0b2a /library/compiler-builtins/libm/src/math/sqrtf16.rs
parent7966f1b556f39882b3e451533a74a3b24a34cb05 (diff)
downloadrust-db21837095f18a76d1fecb7d55547688a6b19647.tar.gz
rust-db21837095f18a76d1fecb7d55547688a6b19647.zip
libm: Clean up unused files
These were deleted during refactoring in 0a2dc5d9 ("Combine the source
files for more generic implementations") but got added back by accident
in 54bac411 ("refactor: Move the libm crate to a subdirectory"). Remove
them again here.
Diffstat (limited to 'library/compiler-builtins/libm/src/math/sqrtf16.rs')
-rw-r--r--library/compiler-builtins/libm/src/math/sqrtf16.rs11
1 files changed, 0 insertions, 11 deletions
diff --git a/library/compiler-builtins/libm/src/math/sqrtf16.rs b/library/compiler-builtins/libm/src/math/sqrtf16.rs
deleted file mode 100644
index 7bedb7f8bbb..00000000000
--- a/library/compiler-builtins/libm/src/math/sqrtf16.rs
+++ /dev/null
@@ -1,11 +0,0 @@
-/// The square root of `x` (f16).
-#[cfg_attr(all(test, assert_no_panic), no_panic::no_panic)]
-pub fn sqrtf16(x: f16) -> f16 {
-    select_implementation! {
-        name: sqrtf16,
-        use_arch: all(target_arch = "aarch64", target_feature = "fp16"),
-        args: x,
-    }
-
-    return super::generic::sqrt(x);
-}