// Copyright (c) 2026 Meng Zhuo
// SPDX-License-Identifier: BSD-3-Clause
// hypot entry points backed by the libm crate.
#[no_mangle]
pub extern "C" fn hypot(x: f64, y: f64) -> f64 {
libm::hypot(x, y)
}
#[no_mangle]
pub extern "C" fn hypotf(x: f32, y: f32) -> f32 {
libm::hypotf(x, y)
}