1/// The square root of `x` (f64).
2#[cfg_attr(all(test, assert_no_panic), no_panic::no_panic)]
3pub fn sqrt(x: f64) -> f64 {
4 select_implementation! {
5 name: sqrt,
6 use_arch: any(
7 all(target_arch = "wasm32", intrinsics_enabled),
8 target_feature = "sse2"
9 ),
10 args: x,
11 }
12
13 super::generic::sqrt(x)
14}
15