externc-libm/src/math/fmodf.rs

14 lines
262 B
Rust
Raw Normal View History

// SPDX-License-Identifier: MPL-2.0
/*
* File: src/math/fmodf.rs
*
* The fmodf function.
*
* Author: HTG-YT
* Copyright (c) 2021 The LibM Team of the HaruxOS Project
*/
#[no_mangle]
pub extern "C" fn fmodf(x: f32, y: f32) -> f32 {
libm::fmodf(x, y)
}