externc_libm/math/
atan2f.rs

1// SPDX-License-Identifier: MIT
2/*
3 * File: src/math/atan2f.rs
4 *
5 * The atan2f function.
6 *
7 * Author: HTG-YT
8 * Copyright (c) 2021 The LibM Team of the HaruxOS Project
9 */
10
11#[no_mangle]
12pub extern "C" fn atan2f(y: f32, x: f32) -> f32 {
13    libm::atan2f(y, x)
14}