atanh, atanhf
This commit is contained in:
parent
f83a7e6201
commit
52b3dec336
|
@ -34,3 +34,7 @@ pub mod atan2;
|
|||
pub mod atan2f;
|
||||
#[path = "math/atanf.rs"]
|
||||
pub mod atanf;
|
||||
#[path = "math/atanh.rs"]
|
||||
pub mod atanh;
|
||||
#[path = "math/atanhf.rs"]
|
||||
pub mod atanhf;
|
14
src/math/atanh.rs
Normal file
14
src/math/atanh.rs
Normal file
|
@ -0,0 +1,14 @@
|
|||
// SPDX-License-Identifier: MPL-2.0
|
||||
/*
|
||||
* File: src/math/atanh.rs
|
||||
*
|
||||
* The atanh function.
|
||||
*
|
||||
* Author: HTG-YT
|
||||
* Copyright (c) 2021 The LibM Team of the HaruxOS Project
|
||||
*/
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn atanh(x: f64) -> f64 {
|
||||
libm::atanh(x)
|
||||
}
|
14
src/math/atanhf.rs
Normal file
14
src/math/atanhf.rs
Normal file
|
@ -0,0 +1,14 @@
|
|||
// SPDX-License-Identifier: MPL-2.0
|
||||
/*
|
||||
* File: src/math/atanhf.rs
|
||||
*
|
||||
* The atanhf function.
|
||||
*
|
||||
* Author: HTG-YT
|
||||
* Copyright (c) 2021 The LibM Team of the HaruxOS Project
|
||||
*/
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn atanhf(x: f32) -> f32 {
|
||||
libm::atanhf(x)
|
||||
}
|
Loading…
Reference in a new issue