Update libm, add rint and rintf
This commit is contained in:
parent
cf89479eb7
commit
af5664be84
2 changed files with 3 additions and 15 deletions
|
|
@ -1 +1 @@
|
|||
Subproject commit 14a76eaf8dab437e92c5fc505c48fb4ed0eb3483
|
||||
Subproject commit 4c8a973741c014b11ce7f1477693a3e5d4ef9609
|
||||
|
|
@ -46,6 +46,8 @@ no_mangle! {
|
|||
fn fmaxf(x: f32, y: f32) -> f32;
|
||||
fn round(x: f64) -> f64;
|
||||
fn roundf(x: f32) -> f32;
|
||||
fn rint(x: f64) -> f64;
|
||||
fn rintf(x: f32) -> f32;
|
||||
fn sin(x: f64) -> f64;
|
||||
fn pow(x: f64, y: f64) -> f64;
|
||||
fn powf(x: f32, y: f32) -> f32;
|
||||
|
|
@ -65,20 +67,6 @@ no_mangle! {
|
|||
fn ldexpf(f: f32, n: i32) -> f32;
|
||||
fn tgamma(x: f64) -> f64;
|
||||
fn tgammaf(x: f32) -> f32;
|
||||
}
|
||||
|
||||
#[cfg(any(
|
||||
all(
|
||||
target_family = "wasm",
|
||||
target_os = "unknown",
|
||||
not(target_env = "wasi")
|
||||
),
|
||||
target_os = "xous",
|
||||
all(target_arch = "x86_64", target_os = "uefi"),
|
||||
all(target_arch = "xtensa", target_os = "none"),
|
||||
all(target_vendor = "fortanix", target_env = "sgx")
|
||||
))]
|
||||
no_mangle! {
|
||||
fn atan(x: f64) -> f64;
|
||||
fn atan2(x: f64, y: f64) -> f64;
|
||||
fn cosh(x: f64) -> f64;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue