From 3a31fe719b8ad64694ebd9a137ef14babbbd7e6c Mon Sep 17 00:00:00 2001 From: Trevor Gross Date: Sat, 19 Apr 2025 20:44:21 +0000 Subject: [PATCH 1/3] libm: Remove compiler-builtins-smoke-test Since `libm` is now part of the `compiler-builtins` repo, the crate to test that they work together is no longer needed. --- .../compiler-builtins-smoke-test/Cargo.toml | 38 ---- .../compiler-builtins-smoke-test/build.rs | 8 - .../compiler-builtins-smoke-test/src/lib.rs | 17 -- .../compiler-builtins-smoke-test/src/math.rs | 182 ------------------ 4 files changed, 245 deletions(-) delete mode 100644 libm/crates/compiler-builtins-smoke-test/Cargo.toml delete mode 100644 libm/crates/compiler-builtins-smoke-test/build.rs delete mode 100644 libm/crates/compiler-builtins-smoke-test/src/lib.rs delete mode 100644 libm/crates/compiler-builtins-smoke-test/src/math.rs diff --git a/libm/crates/compiler-builtins-smoke-test/Cargo.toml b/libm/crates/compiler-builtins-smoke-test/Cargo.toml deleted file mode 100644 index 38a511669..000000000 --- a/libm/crates/compiler-builtins-smoke-test/Cargo.toml +++ /dev/null @@ -1,38 +0,0 @@ -[package] -name = "cb" -version = "0.1.0" -authors = ["Jorge Aparicio "] -edition = "2021" -publish = false - -[lib] -crate-type = ["staticlib"] -test = false -bench = false - -[features] -default = ["arch", "compiler-builtins", "unstable-float"] - -# Copied from `libm`'s root `Cargo.toml`' -arch = [] -compiler-builtins = [] -unstable-float = [] - -[lints.rust] -unexpected_cfgs = { level = "warn", check-cfg = [ - "cfg(arch_enabled)", - "cfg(assert_no_panic)", - "cfg(intrinsics_enabled)", - 'cfg(feature, values("force-soft-floats"))', - 'cfg(feature, values("unstable"))', - 'cfg(feature, values("unstable-intrinsics"))', - 'cfg(feature, values("unstable-public-internals"))', -] } - -[profile.dev] -panic = "abort" - -[profile.release] -panic = "abort" -codegen-units = 1 -lto = "fat" diff --git a/libm/crates/compiler-builtins-smoke-test/build.rs b/libm/crates/compiler-builtins-smoke-test/build.rs deleted file mode 100644 index ef8d613c9..000000000 --- a/libm/crates/compiler-builtins-smoke-test/build.rs +++ /dev/null @@ -1,8 +0,0 @@ -#[path = "../../libm/configure.rs"] -mod configure; - -fn main() { - println!("cargo:rerun-if-changed=../../libm/configure.rs"); - let cfg = configure::Config::from_env(); - configure::emit_libm_config(&cfg); -} diff --git a/libm/crates/compiler-builtins-smoke-test/src/lib.rs b/libm/crates/compiler-builtins-smoke-test/src/lib.rs deleted file mode 100644 index e70f6d9e0..000000000 --- a/libm/crates/compiler-builtins-smoke-test/src/lib.rs +++ /dev/null @@ -1,17 +0,0 @@ -//! Fake compiler-builtins crate -//! -//! This is used to test that we can source import `libm` into the compiler-builtins crate. -//! Additionally, it provides a `#[no_mangle]` C API that can be easier to inspect than the -//! default `.rlib`. - -#![compiler_builtins] -#![feature(core_intrinsics)] -#![feature(compiler_builtins)] -#![feature(f16)] -#![feature(f128)] -#![allow(internal_features)] -#![no_std] - -mod math; -// Required for macro paths. -use math::libm::support; diff --git a/libm/crates/compiler-builtins-smoke-test/src/math.rs b/libm/crates/compiler-builtins-smoke-test/src/math.rs deleted file mode 100644 index 58a5bfbb9..000000000 --- a/libm/crates/compiler-builtins-smoke-test/src/math.rs +++ /dev/null @@ -1,182 +0,0 @@ -use core::ffi::c_int; - -#[allow(dead_code)] -#[allow(clippy::all)] // We don't get `libm`'s list of `allow`s, so just ignore Clippy. -#[allow(unused_imports)] -#[path = "../../../libm/src/math/mod.rs"] -pub mod libm; - -/// Mark functions `#[no_mangle]` and with the C ABI. -macro_rules! no_mangle { - ($( $name:ident( $($tt:tt)+ ) -> $ret:ty; )+) => { - $( no_mangle!(@inner $name( $($tt)+ ) -> $ret); )+ - }; - - // Handle simple functions with single return types - (@inner $name:ident( $($arg:ident: $aty:ty),+ ) -> $ret:ty) => { - #[unsafe(no_mangle)] - extern "C" fn $name($($arg: $aty),+) -> $ret { - libm::$name($($arg),+) - } - }; - - - // Functions with `&mut` return values need to be handled differently, use `|` to - // separate inputs vs. outputs. - ( - @inner $name:ident( $($arg:ident: $aty:ty),+ | $($rarg:ident: $rty:ty),+) -> $ret:ty - ) => { - #[unsafe(no_mangle)] - extern "C" fn $name($($arg: $aty,)+ $($rarg: $rty),+) -> $ret { - let ret; - (ret, $(*$rarg),+) = libm::$name($($arg),+); - ret - } - }; -} - -no_mangle! { - frexp(x: f64 | y: &mut c_int) -> f64; - frexpf(x: f32 | y: &mut c_int) -> f32; - acos(x: f64) -> f64; - acosf(x: f32) -> f32; - acosh(x: f64) -> f64; - acoshf(x: f32) -> f32; - asin(x: f64) -> f64; - asinf(x: f32) -> f32; - asinh(x: f64) -> f64; - asinhf(x: f32) -> f32; - atan(x: f64) -> f64; - atan2(x: f64, y: f64) -> f64; - atan2f(x: f32, y: f32) -> f32; - atanf(x: f32) -> f32; - atanh(x: f64) -> f64; - atanhf(x: f32) -> f32; - cbrt(x: f64) -> f64; - cbrtf(x: f32) -> f32; - ceil(x: f64) -> f64; - ceilf(x: f32) -> f32; - ceilf128(x: f128) -> f128; - ceilf16(x: f16) -> f16; - copysign(x: f64, y: f64) -> f64; - copysignf(x: f32, y: f32) -> f32; - copysignf128(x: f128, y: f128) -> f128; - copysignf16(x: f16, y: f16) -> f16; - cos(x: f64) -> f64; - cosf(x: f32) -> f32; - cosh(x: f64) -> f64; - coshf(x: f32) -> f32; - erf(x: f64) -> f64; - erfc(x: f64) -> f64; - erfcf(x: f32) -> f32; - erff(x: f32) -> f32; - exp(x: f64) -> f64; - exp10(x: f64) -> f64; - exp10f(x: f32) -> f32; - exp2(x: f64) -> f64; - exp2f(x: f32) -> f32; - expf(x: f32) -> f32; - expm1(x: f64) -> f64; - expm1f(x: f32) -> f32; - fabs(x: f64) -> f64; - fabsf(x: f32) -> f32; - fabsf128(x: f128) -> f128; - fabsf16(x: f16) -> f16; - fdim(x: f64, y: f64) -> f64; - fdimf(x: f32, y: f32) -> f32; - fdimf128(x: f128, y: f128) -> f128; - fdimf16(x: f16, y: f16) -> f16; - floor(x: f64) -> f64; - floorf(x: f32) -> f32; - floorf128(x: f128) -> f128; - floorf16(x: f16) -> f16; - fma(x: f64, y: f64, z: f64) -> f64; - fmaf(x: f32, y: f32, z: f32) -> f32; - fmax(x: f64, y: f64) -> f64; - fmaxf(x: f32, y: f32) -> f32; - fmin(x: f64, y: f64) -> f64; - fminf(x: f32, y: f32) -> f32; - fmod(x: f64, y: f64) -> f64; - fmodf(x: f32, y: f32) -> f32; - hypot(x: f64, y: f64) -> f64; - hypotf(x: f32, y: f32) -> f32; - ilogb(x: f64) -> c_int; - ilogbf(x: f32) -> c_int; - j0(x: f64) -> f64; - j0f(x: f32) -> f32; - j1(x: f64) -> f64; - j1f(x: f32) -> f32; - jn(x: c_int, y: f64) -> f64; - jnf(x: c_int, y: f32) -> f32; - ldexp(x: f64, y: c_int) -> f64; - ldexpf(x: f32, y: c_int) -> f32; - lgamma(x: f64) -> f64; - lgamma_r(x: f64 | r: &mut c_int) -> f64; - lgammaf(x: f32) -> f32; - lgammaf_r(x: f32 | r: &mut c_int) -> f32; - log(x: f64) -> f64; - log10(x: f64) -> f64; - log10f(x: f32) -> f32; - log1p(x: f64) -> f64; - log1pf(x: f32) -> f32; - log2(x: f64) -> f64; - log2f(x: f32) -> f32; - logf(x: f32) -> f32; - modf(x: f64 | r: &mut f64) -> f64; - modff(x: f32 | r: &mut f32) -> f32; - nextafter(x: f64, y: f64) -> f64; - nextafterf(x: f32, y: f32) -> f32; - pow(x: f64, y: f64) -> f64; - powf(x: f32, y: f32) -> f32; - remainder(x: f64, y: f64) -> f64; - remainderf(x: f32, y: f32) -> f32; - remquo(x: f64, y: f64 | q: &mut c_int) -> f64; - remquof(x: f32, y: f32 | q: &mut c_int) -> f32; - rint(x: f64) -> f64; - rintf(x: f32) -> f32; - rintf128(x: f128) -> f128; - rintf16(x: f16) -> f16; - round(x: f64) -> f64; - roundf(x: f32) -> f32; - scalbn(x: f64, y: c_int) -> f64; - scalbnf(x: f32, y: c_int) -> f32; - sin(x: f64) -> f64; - sinf(x: f32) -> f32; - sinh(x: f64) -> f64; - sinhf(x: f32) -> f32; - sqrt(x: f64) -> f64; - sqrtf(x: f32) -> f32; - tan(x: f64) -> f64; - tanf(x: f32) -> f32; - tanh(x: f64) -> f64; - tanhf(x: f32) -> f32; - tgamma(x: f64) -> f64; - tgammaf(x: f32) -> f32; - trunc(x: f64) -> f64; - truncf(x: f32) -> f32; - truncf128(x: f128) -> f128; - truncf16(x: f16) -> f16; - y0(x: f64) -> f64; - y0f(x: f32) -> f32; - y1(x: f64) -> f64; - y1f(x: f32) -> f32; - yn(x: c_int, y: f64) -> f64; - ynf(x: c_int, y: f32) -> f32; -} - -/* sincos has no direct return type, not worth handling in the macro */ - -#[unsafe(no_mangle)] -extern "C" fn sincos(x: f64, s: &mut f64, c: &mut f64) { - (*s, *c) = libm::sincos(x); -} - -#[unsafe(no_mangle)] -extern "C" fn sincosf(x: f32, s: &mut f32, c: &mut f32) { - (*s, *c) = libm::sincosf(x); -} - -#[panic_handler] -fn panic(_info: &core::panic::PanicInfo) -> ! { - loop {} -} From b727ffbc38b5d5c3dcbd8ba73bec846dc938e25c Mon Sep 17 00:00:00 2001 From: Trevor Gross Date: Sat, 19 Apr 2025 20:58:25 +0000 Subject: [PATCH 2/3] libm: Reorganize into compiler-builtins Distribute everything from `libm/` to better locations in the repo. `libm/libm/*` has not moved yet to avoid Git seeing the move as an edit to `Cargo.toml`. Files that remain to be merged somehow are in `etc/libm`. --- .../crates => crates}/libm-macros/Cargo.toml | 0 .../libm-macros/src/enums.rs | 0 .../crates => crates}/libm-macros/src/lib.rs | 0 .../libm-macros/src/parse.rs | 0 .../libm-macros/src/shared.rs | 0 .../libm-macros/tests/basic.rs | 0 .../libm-macros/tests/enum.rs | 0 .../musl-math-sys/Cargo.toml | 0 .../crates => crates}/musl-math-sys/build.rs | 0 .../musl-math-sys/c_patches/alias.c | 0 .../musl-math-sys/c_patches/features.h | 0 .../musl-math-sys/src/lib.rs | 0 {libm/crates => crates}/util/Cargo.toml | 0 {libm/crates => crates}/util/build.rs | 0 {libm/crates => crates}/util/src/main.rs | 0 {libm/etc => etc}/function-definitions.json | 0 {libm/etc => etc}/function-list.txt | 0 {libm => etc/libm}/.editorconfig | 0 .../libm}/.github/workflows/main.yaml | 0 .../libm}/.github/workflows/publish.yaml | 0 {libm => etc/libm}/.gitignore | 0 {libm => etc/libm}/Cargo.toml | 0 {libm => etc/libm}/ci/bench-icount.sh | 0 {libm => etc/libm}/ci/ci-util.py | 0 .../aarch64-unknown-linux-gnu/Dockerfile | 0 .../arm-unknown-linux-gnueabi/Dockerfile | 0 .../arm-unknown-linux-gnueabihf/Dockerfile | 0 .../armv7-unknown-linux-gnueabihf/Dockerfile | 0 .../docker/i586-unknown-linux-gnu/Dockerfile | 0 .../docker/i686-unknown-linux-gnu/Dockerfile | 0 .../loongarch64-unknown-linux-gnu/Dockerfile | 0 .../docker/mips-unknown-linux-gnu/Dockerfile | 0 .../mips64-unknown-linux-gnuabi64/Dockerfile | 0 .../Dockerfile | 0 .../mipsel-unknown-linux-gnu/Dockerfile | 0 .../powerpc-unknown-linux-gnu/Dockerfile | 0 .../powerpc64-unknown-linux-gnu/Dockerfile | 0 .../powerpc64le-unknown-linux-gnu/Dockerfile | 0 .../riscv64gc-unknown-linux-gnu/Dockerfile | 0 .../ci/docker/thumbv6m-none-eabi/Dockerfile | 0 .../ci/docker/thumbv7em-none-eabi/Dockerfile | 0 .../docker/thumbv7em-none-eabihf/Dockerfile | 0 .../ci/docker/thumbv7m-none-eabi/Dockerfile | 0 .../x86_64-unknown-linux-gnu/Dockerfile | 0 {libm => etc/libm}/ci/run-docker.sh | 0 {libm => etc/libm}/ci/run.sh | 0 {libm/etc => etc}/update-api-list.py | 0 .../crates/libm-test => libm-test}/Cargo.toml | 0 .../libm-test => libm-test}/benches/icount.rs | 0 .../libm-test => libm-test}/benches/random.rs | 0 {libm/crates/libm-test => libm-test}/build.rs | 0 .../examples/plot_domains.rs | 0 .../examples/plot_file.jl | 0 .../libm-test => libm-test}/src/domain.rs | 0 .../libm-test => libm-test}/src/f8_impl.rs | 0 .../libm-test => libm-test}/src/generate.rs | 0 .../src/generate/case_list.rs | 0 .../src/generate/edge_cases.rs | 0 .../src/generate/random.rs | 0 .../src/generate/spaced.rs | 0 .../crates/libm-test => libm-test}/src/lib.rs | 0 .../libm-test => libm-test}/src/mpfloat.rs | 0 .../crates/libm-test => libm-test}/src/num.rs | 0 .../crates/libm-test => libm-test}/src/op.rs | 0 .../libm-test => libm-test}/src/precision.rs | 0 .../libm-test => libm-test}/src/run_cfg.rs | 0 .../src/test_traits.rs | 0 .../tests/check_coverage.rs | 0 .../tests/compare_built_musl.rs | 0 .../tests/multiprecision.rs | 0 .../tests/standalone.rs | 0 .../libm-test => libm-test}/tests/u256.rs | 0 .../tests/z_extensive/main.rs | 0 .../tests/z_extensive/run.rs | 0 libm/LICENSE.txt | 258 ----------------- libm/README.md | 56 ---- libm/crates/musl-math-sys/musl | 1 - libm/libm/LICENSE.txt | 259 +++++++++++++++++- libm/libm/README.md | 57 +++- 79 files changed, 314 insertions(+), 317 deletions(-) rename {libm/crates => crates}/libm-macros/Cargo.toml (100%) rename {libm/crates => crates}/libm-macros/src/enums.rs (100%) rename {libm/crates => crates}/libm-macros/src/lib.rs (100%) rename {libm/crates => crates}/libm-macros/src/parse.rs (100%) rename {libm/crates => crates}/libm-macros/src/shared.rs (100%) rename {libm/crates => crates}/libm-macros/tests/basic.rs (100%) rename {libm/crates => crates}/libm-macros/tests/enum.rs (100%) rename {libm/crates => crates}/musl-math-sys/Cargo.toml (100%) rename {libm/crates => crates}/musl-math-sys/build.rs (100%) rename {libm/crates => crates}/musl-math-sys/c_patches/alias.c (100%) rename {libm/crates => crates}/musl-math-sys/c_patches/features.h (100%) rename {libm/crates => crates}/musl-math-sys/src/lib.rs (100%) rename {libm/crates => crates}/util/Cargo.toml (100%) rename {libm/crates => crates}/util/build.rs (100%) rename {libm/crates => crates}/util/src/main.rs (100%) rename {libm/etc => etc}/function-definitions.json (100%) rename {libm/etc => etc}/function-list.txt (100%) rename {libm => etc/libm}/.editorconfig (100%) rename {libm => etc/libm}/.github/workflows/main.yaml (100%) rename {libm => etc/libm}/.github/workflows/publish.yaml (100%) rename {libm => etc/libm}/.gitignore (100%) rename {libm => etc/libm}/Cargo.toml (100%) rename {libm => etc/libm}/ci/bench-icount.sh (100%) rename {libm => etc/libm}/ci/ci-util.py (100%) rename {libm => etc/libm}/ci/docker/aarch64-unknown-linux-gnu/Dockerfile (100%) rename {libm => etc/libm}/ci/docker/arm-unknown-linux-gnueabi/Dockerfile (100%) rename {libm => etc/libm}/ci/docker/arm-unknown-linux-gnueabihf/Dockerfile (100%) rename {libm => etc/libm}/ci/docker/armv7-unknown-linux-gnueabihf/Dockerfile (100%) rename {libm => etc/libm}/ci/docker/i586-unknown-linux-gnu/Dockerfile (100%) rename {libm => etc/libm}/ci/docker/i686-unknown-linux-gnu/Dockerfile (100%) rename {libm => etc/libm}/ci/docker/loongarch64-unknown-linux-gnu/Dockerfile (100%) rename {libm => etc/libm}/ci/docker/mips-unknown-linux-gnu/Dockerfile (100%) rename {libm => etc/libm}/ci/docker/mips64-unknown-linux-gnuabi64/Dockerfile (100%) rename {libm => etc/libm}/ci/docker/mips64el-unknown-linux-gnuabi64/Dockerfile (100%) rename {libm => etc/libm}/ci/docker/mipsel-unknown-linux-gnu/Dockerfile (100%) rename {libm => etc/libm}/ci/docker/powerpc-unknown-linux-gnu/Dockerfile (100%) rename {libm => etc/libm}/ci/docker/powerpc64-unknown-linux-gnu/Dockerfile (100%) rename {libm => etc/libm}/ci/docker/powerpc64le-unknown-linux-gnu/Dockerfile (100%) rename {libm => etc/libm}/ci/docker/riscv64gc-unknown-linux-gnu/Dockerfile (100%) rename {libm => etc/libm}/ci/docker/thumbv6m-none-eabi/Dockerfile (100%) rename {libm => etc/libm}/ci/docker/thumbv7em-none-eabi/Dockerfile (100%) rename {libm => etc/libm}/ci/docker/thumbv7em-none-eabihf/Dockerfile (100%) rename {libm => etc/libm}/ci/docker/thumbv7m-none-eabi/Dockerfile (100%) rename {libm => etc/libm}/ci/docker/x86_64-unknown-linux-gnu/Dockerfile (100%) rename {libm => etc/libm}/ci/run-docker.sh (100%) rename {libm => etc/libm}/ci/run.sh (100%) rename {libm/etc => etc}/update-api-list.py (100%) rename {libm/crates/libm-test => libm-test}/Cargo.toml (100%) rename {libm/crates/libm-test => libm-test}/benches/icount.rs (100%) rename {libm/crates/libm-test => libm-test}/benches/random.rs (100%) rename {libm/crates/libm-test => libm-test}/build.rs (100%) rename {libm/crates/libm-test => libm-test}/examples/plot_domains.rs (100%) rename {libm/crates/libm-test => libm-test}/examples/plot_file.jl (100%) rename {libm/crates/libm-test => libm-test}/src/domain.rs (100%) rename {libm/crates/libm-test => libm-test}/src/f8_impl.rs (100%) rename {libm/crates/libm-test => libm-test}/src/generate.rs (100%) rename {libm/crates/libm-test => libm-test}/src/generate/case_list.rs (100%) rename {libm/crates/libm-test => libm-test}/src/generate/edge_cases.rs (100%) rename {libm/crates/libm-test => libm-test}/src/generate/random.rs (100%) rename {libm/crates/libm-test => libm-test}/src/generate/spaced.rs (100%) rename {libm/crates/libm-test => libm-test}/src/lib.rs (100%) rename {libm/crates/libm-test => libm-test}/src/mpfloat.rs (100%) rename {libm/crates/libm-test => libm-test}/src/num.rs (100%) rename {libm/crates/libm-test => libm-test}/src/op.rs (100%) rename {libm/crates/libm-test => libm-test}/src/precision.rs (100%) rename {libm/crates/libm-test => libm-test}/src/run_cfg.rs (100%) rename {libm/crates/libm-test => libm-test}/src/test_traits.rs (100%) rename {libm/crates/libm-test => libm-test}/tests/check_coverage.rs (100%) rename {libm/crates/libm-test => libm-test}/tests/compare_built_musl.rs (100%) rename {libm/crates/libm-test => libm-test}/tests/multiprecision.rs (100%) rename {libm/crates/libm-test => libm-test}/tests/standalone.rs (100%) rename {libm/crates/libm-test => libm-test}/tests/u256.rs (100%) rename {libm/crates/libm-test => libm-test}/tests/z_extensive/main.rs (100%) rename {libm/crates/libm-test => libm-test}/tests/z_extensive/run.rs (100%) delete mode 100644 libm/LICENSE.txt delete mode 100644 libm/README.md delete mode 160000 libm/crates/musl-math-sys/musl mode change 120000 => 100644 libm/libm/LICENSE.txt mode change 120000 => 100644 libm/libm/README.md diff --git a/libm/crates/libm-macros/Cargo.toml b/crates/libm-macros/Cargo.toml similarity index 100% rename from libm/crates/libm-macros/Cargo.toml rename to crates/libm-macros/Cargo.toml diff --git a/libm/crates/libm-macros/src/enums.rs b/crates/libm-macros/src/enums.rs similarity index 100% rename from libm/crates/libm-macros/src/enums.rs rename to crates/libm-macros/src/enums.rs diff --git a/libm/crates/libm-macros/src/lib.rs b/crates/libm-macros/src/lib.rs similarity index 100% rename from libm/crates/libm-macros/src/lib.rs rename to crates/libm-macros/src/lib.rs diff --git a/libm/crates/libm-macros/src/parse.rs b/crates/libm-macros/src/parse.rs similarity index 100% rename from libm/crates/libm-macros/src/parse.rs rename to crates/libm-macros/src/parse.rs diff --git a/libm/crates/libm-macros/src/shared.rs b/crates/libm-macros/src/shared.rs similarity index 100% rename from libm/crates/libm-macros/src/shared.rs rename to crates/libm-macros/src/shared.rs diff --git a/libm/crates/libm-macros/tests/basic.rs b/crates/libm-macros/tests/basic.rs similarity index 100% rename from libm/crates/libm-macros/tests/basic.rs rename to crates/libm-macros/tests/basic.rs diff --git a/libm/crates/libm-macros/tests/enum.rs b/crates/libm-macros/tests/enum.rs similarity index 100% rename from libm/crates/libm-macros/tests/enum.rs rename to crates/libm-macros/tests/enum.rs diff --git a/libm/crates/musl-math-sys/Cargo.toml b/crates/musl-math-sys/Cargo.toml similarity index 100% rename from libm/crates/musl-math-sys/Cargo.toml rename to crates/musl-math-sys/Cargo.toml diff --git a/libm/crates/musl-math-sys/build.rs b/crates/musl-math-sys/build.rs similarity index 100% rename from libm/crates/musl-math-sys/build.rs rename to crates/musl-math-sys/build.rs diff --git a/libm/crates/musl-math-sys/c_patches/alias.c b/crates/musl-math-sys/c_patches/alias.c similarity index 100% rename from libm/crates/musl-math-sys/c_patches/alias.c rename to crates/musl-math-sys/c_patches/alias.c diff --git a/libm/crates/musl-math-sys/c_patches/features.h b/crates/musl-math-sys/c_patches/features.h similarity index 100% rename from libm/crates/musl-math-sys/c_patches/features.h rename to crates/musl-math-sys/c_patches/features.h diff --git a/libm/crates/musl-math-sys/src/lib.rs b/crates/musl-math-sys/src/lib.rs similarity index 100% rename from libm/crates/musl-math-sys/src/lib.rs rename to crates/musl-math-sys/src/lib.rs diff --git a/libm/crates/util/Cargo.toml b/crates/util/Cargo.toml similarity index 100% rename from libm/crates/util/Cargo.toml rename to crates/util/Cargo.toml diff --git a/libm/crates/util/build.rs b/crates/util/build.rs similarity index 100% rename from libm/crates/util/build.rs rename to crates/util/build.rs diff --git a/libm/crates/util/src/main.rs b/crates/util/src/main.rs similarity index 100% rename from libm/crates/util/src/main.rs rename to crates/util/src/main.rs diff --git a/libm/etc/function-definitions.json b/etc/function-definitions.json similarity index 100% rename from libm/etc/function-definitions.json rename to etc/function-definitions.json diff --git a/libm/etc/function-list.txt b/etc/function-list.txt similarity index 100% rename from libm/etc/function-list.txt rename to etc/function-list.txt diff --git a/libm/.editorconfig b/etc/libm/.editorconfig similarity index 100% rename from libm/.editorconfig rename to etc/libm/.editorconfig diff --git a/libm/.github/workflows/main.yaml b/etc/libm/.github/workflows/main.yaml similarity index 100% rename from libm/.github/workflows/main.yaml rename to etc/libm/.github/workflows/main.yaml diff --git a/libm/.github/workflows/publish.yaml b/etc/libm/.github/workflows/publish.yaml similarity index 100% rename from libm/.github/workflows/publish.yaml rename to etc/libm/.github/workflows/publish.yaml diff --git a/libm/.gitignore b/etc/libm/.gitignore similarity index 100% rename from libm/.gitignore rename to etc/libm/.gitignore diff --git a/libm/Cargo.toml b/etc/libm/Cargo.toml similarity index 100% rename from libm/Cargo.toml rename to etc/libm/Cargo.toml diff --git a/libm/ci/bench-icount.sh b/etc/libm/ci/bench-icount.sh similarity index 100% rename from libm/ci/bench-icount.sh rename to etc/libm/ci/bench-icount.sh diff --git a/libm/ci/ci-util.py b/etc/libm/ci/ci-util.py similarity index 100% rename from libm/ci/ci-util.py rename to etc/libm/ci/ci-util.py diff --git a/libm/ci/docker/aarch64-unknown-linux-gnu/Dockerfile b/etc/libm/ci/docker/aarch64-unknown-linux-gnu/Dockerfile similarity index 100% rename from libm/ci/docker/aarch64-unknown-linux-gnu/Dockerfile rename to etc/libm/ci/docker/aarch64-unknown-linux-gnu/Dockerfile diff --git a/libm/ci/docker/arm-unknown-linux-gnueabi/Dockerfile b/etc/libm/ci/docker/arm-unknown-linux-gnueabi/Dockerfile similarity index 100% rename from libm/ci/docker/arm-unknown-linux-gnueabi/Dockerfile rename to etc/libm/ci/docker/arm-unknown-linux-gnueabi/Dockerfile diff --git a/libm/ci/docker/arm-unknown-linux-gnueabihf/Dockerfile b/etc/libm/ci/docker/arm-unknown-linux-gnueabihf/Dockerfile similarity index 100% rename from libm/ci/docker/arm-unknown-linux-gnueabihf/Dockerfile rename to etc/libm/ci/docker/arm-unknown-linux-gnueabihf/Dockerfile diff --git a/libm/ci/docker/armv7-unknown-linux-gnueabihf/Dockerfile b/etc/libm/ci/docker/armv7-unknown-linux-gnueabihf/Dockerfile similarity index 100% rename from libm/ci/docker/armv7-unknown-linux-gnueabihf/Dockerfile rename to etc/libm/ci/docker/armv7-unknown-linux-gnueabihf/Dockerfile diff --git a/libm/ci/docker/i586-unknown-linux-gnu/Dockerfile b/etc/libm/ci/docker/i586-unknown-linux-gnu/Dockerfile similarity index 100% rename from libm/ci/docker/i586-unknown-linux-gnu/Dockerfile rename to etc/libm/ci/docker/i586-unknown-linux-gnu/Dockerfile diff --git a/libm/ci/docker/i686-unknown-linux-gnu/Dockerfile b/etc/libm/ci/docker/i686-unknown-linux-gnu/Dockerfile similarity index 100% rename from libm/ci/docker/i686-unknown-linux-gnu/Dockerfile rename to etc/libm/ci/docker/i686-unknown-linux-gnu/Dockerfile diff --git a/libm/ci/docker/loongarch64-unknown-linux-gnu/Dockerfile b/etc/libm/ci/docker/loongarch64-unknown-linux-gnu/Dockerfile similarity index 100% rename from libm/ci/docker/loongarch64-unknown-linux-gnu/Dockerfile rename to etc/libm/ci/docker/loongarch64-unknown-linux-gnu/Dockerfile diff --git a/libm/ci/docker/mips-unknown-linux-gnu/Dockerfile b/etc/libm/ci/docker/mips-unknown-linux-gnu/Dockerfile similarity index 100% rename from libm/ci/docker/mips-unknown-linux-gnu/Dockerfile rename to etc/libm/ci/docker/mips-unknown-linux-gnu/Dockerfile diff --git a/libm/ci/docker/mips64-unknown-linux-gnuabi64/Dockerfile b/etc/libm/ci/docker/mips64-unknown-linux-gnuabi64/Dockerfile similarity index 100% rename from libm/ci/docker/mips64-unknown-linux-gnuabi64/Dockerfile rename to etc/libm/ci/docker/mips64-unknown-linux-gnuabi64/Dockerfile diff --git a/libm/ci/docker/mips64el-unknown-linux-gnuabi64/Dockerfile b/etc/libm/ci/docker/mips64el-unknown-linux-gnuabi64/Dockerfile similarity index 100% rename from libm/ci/docker/mips64el-unknown-linux-gnuabi64/Dockerfile rename to etc/libm/ci/docker/mips64el-unknown-linux-gnuabi64/Dockerfile diff --git a/libm/ci/docker/mipsel-unknown-linux-gnu/Dockerfile b/etc/libm/ci/docker/mipsel-unknown-linux-gnu/Dockerfile similarity index 100% rename from libm/ci/docker/mipsel-unknown-linux-gnu/Dockerfile rename to etc/libm/ci/docker/mipsel-unknown-linux-gnu/Dockerfile diff --git a/libm/ci/docker/powerpc-unknown-linux-gnu/Dockerfile b/etc/libm/ci/docker/powerpc-unknown-linux-gnu/Dockerfile similarity index 100% rename from libm/ci/docker/powerpc-unknown-linux-gnu/Dockerfile rename to etc/libm/ci/docker/powerpc-unknown-linux-gnu/Dockerfile diff --git a/libm/ci/docker/powerpc64-unknown-linux-gnu/Dockerfile b/etc/libm/ci/docker/powerpc64-unknown-linux-gnu/Dockerfile similarity index 100% rename from libm/ci/docker/powerpc64-unknown-linux-gnu/Dockerfile rename to etc/libm/ci/docker/powerpc64-unknown-linux-gnu/Dockerfile diff --git a/libm/ci/docker/powerpc64le-unknown-linux-gnu/Dockerfile b/etc/libm/ci/docker/powerpc64le-unknown-linux-gnu/Dockerfile similarity index 100% rename from libm/ci/docker/powerpc64le-unknown-linux-gnu/Dockerfile rename to etc/libm/ci/docker/powerpc64le-unknown-linux-gnu/Dockerfile diff --git a/libm/ci/docker/riscv64gc-unknown-linux-gnu/Dockerfile b/etc/libm/ci/docker/riscv64gc-unknown-linux-gnu/Dockerfile similarity index 100% rename from libm/ci/docker/riscv64gc-unknown-linux-gnu/Dockerfile rename to etc/libm/ci/docker/riscv64gc-unknown-linux-gnu/Dockerfile diff --git a/libm/ci/docker/thumbv6m-none-eabi/Dockerfile b/etc/libm/ci/docker/thumbv6m-none-eabi/Dockerfile similarity index 100% rename from libm/ci/docker/thumbv6m-none-eabi/Dockerfile rename to etc/libm/ci/docker/thumbv6m-none-eabi/Dockerfile diff --git a/libm/ci/docker/thumbv7em-none-eabi/Dockerfile b/etc/libm/ci/docker/thumbv7em-none-eabi/Dockerfile similarity index 100% rename from libm/ci/docker/thumbv7em-none-eabi/Dockerfile rename to etc/libm/ci/docker/thumbv7em-none-eabi/Dockerfile diff --git a/libm/ci/docker/thumbv7em-none-eabihf/Dockerfile b/etc/libm/ci/docker/thumbv7em-none-eabihf/Dockerfile similarity index 100% rename from libm/ci/docker/thumbv7em-none-eabihf/Dockerfile rename to etc/libm/ci/docker/thumbv7em-none-eabihf/Dockerfile diff --git a/libm/ci/docker/thumbv7m-none-eabi/Dockerfile b/etc/libm/ci/docker/thumbv7m-none-eabi/Dockerfile similarity index 100% rename from libm/ci/docker/thumbv7m-none-eabi/Dockerfile rename to etc/libm/ci/docker/thumbv7m-none-eabi/Dockerfile diff --git a/libm/ci/docker/x86_64-unknown-linux-gnu/Dockerfile b/etc/libm/ci/docker/x86_64-unknown-linux-gnu/Dockerfile similarity index 100% rename from libm/ci/docker/x86_64-unknown-linux-gnu/Dockerfile rename to etc/libm/ci/docker/x86_64-unknown-linux-gnu/Dockerfile diff --git a/libm/ci/run-docker.sh b/etc/libm/ci/run-docker.sh similarity index 100% rename from libm/ci/run-docker.sh rename to etc/libm/ci/run-docker.sh diff --git a/libm/ci/run.sh b/etc/libm/ci/run.sh similarity index 100% rename from libm/ci/run.sh rename to etc/libm/ci/run.sh diff --git a/libm/etc/update-api-list.py b/etc/update-api-list.py similarity index 100% rename from libm/etc/update-api-list.py rename to etc/update-api-list.py diff --git a/libm/crates/libm-test/Cargo.toml b/libm-test/Cargo.toml similarity index 100% rename from libm/crates/libm-test/Cargo.toml rename to libm-test/Cargo.toml diff --git a/libm/crates/libm-test/benches/icount.rs b/libm-test/benches/icount.rs similarity index 100% rename from libm/crates/libm-test/benches/icount.rs rename to libm-test/benches/icount.rs diff --git a/libm/crates/libm-test/benches/random.rs b/libm-test/benches/random.rs similarity index 100% rename from libm/crates/libm-test/benches/random.rs rename to libm-test/benches/random.rs diff --git a/libm/crates/libm-test/build.rs b/libm-test/build.rs similarity index 100% rename from libm/crates/libm-test/build.rs rename to libm-test/build.rs diff --git a/libm/crates/libm-test/examples/plot_domains.rs b/libm-test/examples/plot_domains.rs similarity index 100% rename from libm/crates/libm-test/examples/plot_domains.rs rename to libm-test/examples/plot_domains.rs diff --git a/libm/crates/libm-test/examples/plot_file.jl b/libm-test/examples/plot_file.jl similarity index 100% rename from libm/crates/libm-test/examples/plot_file.jl rename to libm-test/examples/plot_file.jl diff --git a/libm/crates/libm-test/src/domain.rs b/libm-test/src/domain.rs similarity index 100% rename from libm/crates/libm-test/src/domain.rs rename to libm-test/src/domain.rs diff --git a/libm/crates/libm-test/src/f8_impl.rs b/libm-test/src/f8_impl.rs similarity index 100% rename from libm/crates/libm-test/src/f8_impl.rs rename to libm-test/src/f8_impl.rs diff --git a/libm/crates/libm-test/src/generate.rs b/libm-test/src/generate.rs similarity index 100% rename from libm/crates/libm-test/src/generate.rs rename to libm-test/src/generate.rs diff --git a/libm/crates/libm-test/src/generate/case_list.rs b/libm-test/src/generate/case_list.rs similarity index 100% rename from libm/crates/libm-test/src/generate/case_list.rs rename to libm-test/src/generate/case_list.rs diff --git a/libm/crates/libm-test/src/generate/edge_cases.rs b/libm-test/src/generate/edge_cases.rs similarity index 100% rename from libm/crates/libm-test/src/generate/edge_cases.rs rename to libm-test/src/generate/edge_cases.rs diff --git a/libm/crates/libm-test/src/generate/random.rs b/libm-test/src/generate/random.rs similarity index 100% rename from libm/crates/libm-test/src/generate/random.rs rename to libm-test/src/generate/random.rs diff --git a/libm/crates/libm-test/src/generate/spaced.rs b/libm-test/src/generate/spaced.rs similarity index 100% rename from libm/crates/libm-test/src/generate/spaced.rs rename to libm-test/src/generate/spaced.rs diff --git a/libm/crates/libm-test/src/lib.rs b/libm-test/src/lib.rs similarity index 100% rename from libm/crates/libm-test/src/lib.rs rename to libm-test/src/lib.rs diff --git a/libm/crates/libm-test/src/mpfloat.rs b/libm-test/src/mpfloat.rs similarity index 100% rename from libm/crates/libm-test/src/mpfloat.rs rename to libm-test/src/mpfloat.rs diff --git a/libm/crates/libm-test/src/num.rs b/libm-test/src/num.rs similarity index 100% rename from libm/crates/libm-test/src/num.rs rename to libm-test/src/num.rs diff --git a/libm/crates/libm-test/src/op.rs b/libm-test/src/op.rs similarity index 100% rename from libm/crates/libm-test/src/op.rs rename to libm-test/src/op.rs diff --git a/libm/crates/libm-test/src/precision.rs b/libm-test/src/precision.rs similarity index 100% rename from libm/crates/libm-test/src/precision.rs rename to libm-test/src/precision.rs diff --git a/libm/crates/libm-test/src/run_cfg.rs b/libm-test/src/run_cfg.rs similarity index 100% rename from libm/crates/libm-test/src/run_cfg.rs rename to libm-test/src/run_cfg.rs diff --git a/libm/crates/libm-test/src/test_traits.rs b/libm-test/src/test_traits.rs similarity index 100% rename from libm/crates/libm-test/src/test_traits.rs rename to libm-test/src/test_traits.rs diff --git a/libm/crates/libm-test/tests/check_coverage.rs b/libm-test/tests/check_coverage.rs similarity index 100% rename from libm/crates/libm-test/tests/check_coverage.rs rename to libm-test/tests/check_coverage.rs diff --git a/libm/crates/libm-test/tests/compare_built_musl.rs b/libm-test/tests/compare_built_musl.rs similarity index 100% rename from libm/crates/libm-test/tests/compare_built_musl.rs rename to libm-test/tests/compare_built_musl.rs diff --git a/libm/crates/libm-test/tests/multiprecision.rs b/libm-test/tests/multiprecision.rs similarity index 100% rename from libm/crates/libm-test/tests/multiprecision.rs rename to libm-test/tests/multiprecision.rs diff --git a/libm/crates/libm-test/tests/standalone.rs b/libm-test/tests/standalone.rs similarity index 100% rename from libm/crates/libm-test/tests/standalone.rs rename to libm-test/tests/standalone.rs diff --git a/libm/crates/libm-test/tests/u256.rs b/libm-test/tests/u256.rs similarity index 100% rename from libm/crates/libm-test/tests/u256.rs rename to libm-test/tests/u256.rs diff --git a/libm/crates/libm-test/tests/z_extensive/main.rs b/libm-test/tests/z_extensive/main.rs similarity index 100% rename from libm/crates/libm-test/tests/z_extensive/main.rs rename to libm-test/tests/z_extensive/main.rs diff --git a/libm/crates/libm-test/tests/z_extensive/run.rs b/libm-test/tests/z_extensive/run.rs similarity index 100% rename from libm/crates/libm-test/tests/z_extensive/run.rs rename to libm-test/tests/z_extensive/run.rs diff --git a/libm/LICENSE.txt b/libm/LICENSE.txt deleted file mode 100644 index 2f8e41f14..000000000 --- a/libm/LICENSE.txt +++ /dev/null @@ -1,258 +0,0 @@ -rust-lang/libm as a whole is available for use under the MIT license: - ------------------------------------------------------------------------------- -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. ------------------------------------------------------------------------------- - -As a contributor, you agree that your code can be used under either the MIT -license or the Apache-2.0 license: - ------------------------------------------------------------------------------- - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ------------------------------------------------------------------------------- - -This Rust library contains the following copyrights: - - Copyright (c) 2018 Jorge Aparicio - -Portions of this software are derived from third-party works licensed under -terms compatible with the above MIT license: - -* musl libc https://www.musl-libc.org/. This library contains the following - copyright: - - Copyright © 2005-2020 Rich Felker, et al. - -* The CORE-MATH project https://core-math.gitlabpages.inria.fr/. CORE-MATH - routines are available under the MIT license on a per-file basis. - -The musl libc COPYRIGHT file also includes the following notice relevant to -math portions of the library: - ------------------------------------------------------------------------------- -Much of the math library code (src/math/* and src/complex/*) is -Copyright © 1993,2004 Sun Microsystems or -Copyright © 2003-2011 David Schultz or -Copyright © 2003-2009 Steven G. Kargl or -Copyright © 2003-2009 Bruce D. Evans or -Copyright © 2008 Stephen L. Moshier or -Copyright © 2017-2018 Arm Limited -and labelled as such in comments in the individual source files. All -have been licensed under extremely permissive terms. ------------------------------------------------------------------------------- - -Copyright notices are retained in src/* files where relevant. diff --git a/libm/README.md b/libm/README.md deleted file mode 100644 index 52d760a4f..000000000 --- a/libm/README.md +++ /dev/null @@ -1,56 +0,0 @@ -# `libm` - -A port of [MUSL]'s libm to Rust. - -[MUSL]: https://musl.libc.org/ - -## Goals - -The short term goal of this library is to [enable math support (e.g. `sin`, `atan2`) for the -`wasm32-unknown-unknown` target][wasm] (cf. [rust-lang/compiler-builtins][pr]). The longer -term goal is to enable [math support in the `core` crate][core]. - -[wasm]: https://github.com/rust-lang/libm/milestone/1 -[pr]: https://github.com/rust-lang/compiler-builtins/pull/248 -[core]: https://github.com/rust-lang/libm/milestone/2 - -## Already usable - -This crate is [on crates.io] and can be used today in stable `#![no_std]` programs. - -The API documentation can be found [here](https://docs.rs/libm). - -[on crates.io]: https://crates.io/crates/libm - -## Benchmark -[benchmark]: #benchmark - -The benchmarks are located in `crates/libm-bench` and require a nightly Rust toolchain. -To run all benchmarks: - -> cargo +nightly bench --all - -## Contributing - -Please check [CONTRIBUTING.md](CONTRIBUTING.md) - -## Minimum Rust version policy - -This crate supports rustc 1.63 and newer. - -## License - -Usage is licensed under the MIT license ([LICENSE-MIT](LICENSE-MIT) or -https://opensource.org/licenses/MIT). - - -### Contribution - -Contributions are licensed under both the MIT license and the Apache License, -Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or -https://www.apache.org/licenses/LICENSE-2.0). Unless you explicitly state -otherwise, any contribution intentionally submitted for inclusion in the work -by you, as defined in the Apache-2.0 license, shall be dual licensed as -mentioned, without any additional terms or conditions. - -See `LICENSE.txt` for full details. diff --git a/libm/crates/musl-math-sys/musl b/libm/crates/musl-math-sys/musl deleted file mode 160000 index 61399d4bd..000000000 --- a/libm/crates/musl-math-sys/musl +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 61399d4bd02ae1ec03068445aa7ffe9174466bfd diff --git a/libm/libm/LICENSE.txt b/libm/libm/LICENSE.txt deleted file mode 120000 index 4ab43736a..000000000 --- a/libm/libm/LICENSE.txt +++ /dev/null @@ -1 +0,0 @@ -../LICENSE.txt \ No newline at end of file diff --git a/libm/libm/LICENSE.txt b/libm/libm/LICENSE.txt new file mode 100644 index 000000000..2f8e41f14 --- /dev/null +++ b/libm/libm/LICENSE.txt @@ -0,0 +1,258 @@ +rust-lang/libm as a whole is available for use under the MIT license: + +------------------------------------------------------------------------------ +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +------------------------------------------------------------------------------ + +As a contributor, you agree that your code can be used under either the MIT +license or the Apache-2.0 license: + +------------------------------------------------------------------------------ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +------------------------------------------------------------------------------ + +This Rust library contains the following copyrights: + + Copyright (c) 2018 Jorge Aparicio + +Portions of this software are derived from third-party works licensed under +terms compatible with the above MIT license: + +* musl libc https://www.musl-libc.org/. This library contains the following + copyright: + + Copyright © 2005-2020 Rich Felker, et al. + +* The CORE-MATH project https://core-math.gitlabpages.inria.fr/. CORE-MATH + routines are available under the MIT license on a per-file basis. + +The musl libc COPYRIGHT file also includes the following notice relevant to +math portions of the library: + +------------------------------------------------------------------------------ +Much of the math library code (src/math/* and src/complex/*) is +Copyright © 1993,2004 Sun Microsystems or +Copyright © 2003-2011 David Schultz or +Copyright © 2003-2009 Steven G. Kargl or +Copyright © 2003-2009 Bruce D. Evans or +Copyright © 2008 Stephen L. Moshier or +Copyright © 2017-2018 Arm Limited +and labelled as such in comments in the individual source files. All +have been licensed under extremely permissive terms. +------------------------------------------------------------------------------ + +Copyright notices are retained in src/* files where relevant. diff --git a/libm/libm/README.md b/libm/libm/README.md deleted file mode 120000 index 32d46ee88..000000000 --- a/libm/libm/README.md +++ /dev/null @@ -1 +0,0 @@ -../README.md \ No newline at end of file diff --git a/libm/libm/README.md b/libm/libm/README.md new file mode 100644 index 000000000..52d760a4f --- /dev/null +++ b/libm/libm/README.md @@ -0,0 +1,56 @@ +# `libm` + +A port of [MUSL]'s libm to Rust. + +[MUSL]: https://musl.libc.org/ + +## Goals + +The short term goal of this library is to [enable math support (e.g. `sin`, `atan2`) for the +`wasm32-unknown-unknown` target][wasm] (cf. [rust-lang/compiler-builtins][pr]). The longer +term goal is to enable [math support in the `core` crate][core]. + +[wasm]: https://github.com/rust-lang/libm/milestone/1 +[pr]: https://github.com/rust-lang/compiler-builtins/pull/248 +[core]: https://github.com/rust-lang/libm/milestone/2 + +## Already usable + +This crate is [on crates.io] and can be used today in stable `#![no_std]` programs. + +The API documentation can be found [here](https://docs.rs/libm). + +[on crates.io]: https://crates.io/crates/libm + +## Benchmark +[benchmark]: #benchmark + +The benchmarks are located in `crates/libm-bench` and require a nightly Rust toolchain. +To run all benchmarks: + +> cargo +nightly bench --all + +## Contributing + +Please check [CONTRIBUTING.md](CONTRIBUTING.md) + +## Minimum Rust version policy + +This crate supports rustc 1.63 and newer. + +## License + +Usage is licensed under the MIT license ([LICENSE-MIT](LICENSE-MIT) or +https://opensource.org/licenses/MIT). + + +### Contribution + +Contributions are licensed under both the MIT license and the Apache License, +Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or +https://www.apache.org/licenses/LICENSE-2.0). Unless you explicitly state +otherwise, any contribution intentionally submitted for inclusion in the work +by you, as defined in the Apache-2.0 license, shall be dual licensed as +mentioned, without any additional terms or conditions. + +See `LICENSE.txt` for full details. From 04920467adaa86664257eb31a205992e0a3dbf47 Mon Sep 17 00:00:00 2001 From: Trevor Gross Date: Sat, 19 Apr 2025 21:09:49 +0000 Subject: [PATCH 3/3] libm: Flatten the `libm/libm` directory --- compiler-builtins/src/math.rs | 2 +- libm/{libm => }/Cargo.toml | 0 libm/{libm => }/LICENSE.txt | 0 libm/{libm => }/README.md | 0 libm/{libm => }/build.rs | 0 libm/{libm => }/configure.rs | 0 libm/{libm => }/src/lib.rs | 0 libm/{libm => }/src/libm_helper.rs | 0 libm/{libm => }/src/math/acos.rs | 0 libm/{libm => }/src/math/acosf.rs | 0 libm/{libm => }/src/math/acosh.rs | 0 libm/{libm => }/src/math/acoshf.rs | 0 libm/{libm => }/src/math/arch/aarch64.rs | 0 libm/{libm => }/src/math/arch/i586.rs | 0 libm/{libm => }/src/math/arch/i686.rs | 0 libm/{libm => }/src/math/arch/mod.rs | 0 libm/{libm => }/src/math/arch/wasm32.rs | 0 libm/{libm => }/src/math/asin.rs | 0 libm/{libm => }/src/math/asinf.rs | 0 libm/{libm => }/src/math/asinh.rs | 0 libm/{libm => }/src/math/asinhf.rs | 0 libm/{libm => }/src/math/atan.rs | 0 libm/{libm => }/src/math/atan2.rs | 0 libm/{libm => }/src/math/atan2f.rs | 0 libm/{libm => }/src/math/atanf.rs | 0 libm/{libm => }/src/math/atanh.rs | 0 libm/{libm => }/src/math/atanhf.rs | 0 libm/{libm => }/src/math/cbrt.rs | 0 libm/{libm => }/src/math/cbrtf.rs | 0 libm/{libm => }/src/math/ceil.rs | 0 libm/{libm => }/src/math/copysign.rs | 0 libm/{libm => }/src/math/copysignf.rs | 0 libm/{libm => }/src/math/copysignf128.rs | 0 libm/{libm => }/src/math/copysignf16.rs | 0 libm/{libm => }/src/math/cos.rs | 0 libm/{libm => }/src/math/cosf.rs | 0 libm/{libm => }/src/math/cosh.rs | 0 libm/{libm => }/src/math/coshf.rs | 0 libm/{libm => }/src/math/erf.rs | 0 libm/{libm => }/src/math/erff.rs | 0 libm/{libm => }/src/math/exp.rs | 0 libm/{libm => }/src/math/exp10.rs | 0 libm/{libm => }/src/math/exp10f.rs | 0 libm/{libm => }/src/math/exp2.rs | 0 libm/{libm => }/src/math/exp2f.rs | 0 libm/{libm => }/src/math/expf.rs | 0 libm/{libm => }/src/math/expm1.rs | 0 libm/{libm => }/src/math/expm1f.rs | 0 libm/{libm => }/src/math/expo2.rs | 0 libm/{libm => }/src/math/fabs.rs | 0 libm/{libm => }/src/math/fabsf.rs | 0 libm/{libm => }/src/math/fabsf128.rs | 0 libm/{libm => }/src/math/fabsf16.rs | 0 libm/{libm => }/src/math/fdim.rs | 0 libm/{libm => }/src/math/fdimf.rs | 0 libm/{libm => }/src/math/fdimf128.rs | 0 libm/{libm => }/src/math/fdimf16.rs | 0 libm/{libm => }/src/math/floor.rs | 0 libm/{libm => }/src/math/floorf.rs | 0 libm/{libm => }/src/math/floorf128.rs | 0 libm/{libm => }/src/math/floorf16.rs | 0 libm/{libm => }/src/math/fma.rs | 0 libm/{libm => }/src/math/fma_wide.rs | 0 libm/{libm => }/src/math/fmin_fmax.rs | 0 libm/{libm => }/src/math/fminimum_fmaximum.rs | 0 libm/{libm => }/src/math/fminimum_fmaximum_num.rs | 0 libm/{libm => }/src/math/fmod.rs | 0 libm/{libm => }/src/math/fmodf.rs | 0 libm/{libm => }/src/math/fmodf128.rs | 0 libm/{libm => }/src/math/fmodf16.rs | 0 libm/{libm => }/src/math/frexp.rs | 0 libm/{libm => }/src/math/frexpf.rs | 0 libm/{libm => }/src/math/generic/ceil.rs | 0 libm/{libm => }/src/math/generic/copysign.rs | 0 libm/{libm => }/src/math/generic/fabs.rs | 0 libm/{libm => }/src/math/generic/fdim.rs | 0 libm/{libm => }/src/math/generic/floor.rs | 0 libm/{libm => }/src/math/generic/fmax.rs | 0 libm/{libm => }/src/math/generic/fmaximum.rs | 0 libm/{libm => }/src/math/generic/fmaximum_num.rs | 0 libm/{libm => }/src/math/generic/fmin.rs | 0 libm/{libm => }/src/math/generic/fminimum.rs | 0 libm/{libm => }/src/math/generic/fminimum_num.rs | 0 libm/{libm => }/src/math/generic/fmod.rs | 0 libm/{libm => }/src/math/generic/mod.rs | 0 libm/{libm => }/src/math/generic/rint.rs | 0 libm/{libm => }/src/math/generic/round.rs | 0 libm/{libm => }/src/math/generic/scalbn.rs | 0 libm/{libm => }/src/math/generic/sqrt.rs | 0 libm/{libm => }/src/math/generic/trunc.rs | 0 libm/{libm => }/src/math/hypot.rs | 0 libm/{libm => }/src/math/hypotf.rs | 0 libm/{libm => }/src/math/ilogb.rs | 0 libm/{libm => }/src/math/ilogbf.rs | 0 libm/{libm => }/src/math/j0.rs | 0 libm/{libm => }/src/math/j0f.rs | 0 libm/{libm => }/src/math/j1.rs | 0 libm/{libm => }/src/math/j1f.rs | 0 libm/{libm => }/src/math/jn.rs | 0 libm/{libm => }/src/math/jnf.rs | 0 libm/{libm => }/src/math/k_cos.rs | 0 libm/{libm => }/src/math/k_cosf.rs | 0 libm/{libm => }/src/math/k_expo2.rs | 0 libm/{libm => }/src/math/k_expo2f.rs | 0 libm/{libm => }/src/math/k_sin.rs | 0 libm/{libm => }/src/math/k_sinf.rs | 0 libm/{libm => }/src/math/k_tan.rs | 0 libm/{libm => }/src/math/k_tanf.rs | 0 libm/{libm => }/src/math/ldexp.rs | 0 libm/{libm => }/src/math/ldexpf.rs | 0 libm/{libm => }/src/math/ldexpf128.rs | 0 libm/{libm => }/src/math/ldexpf16.rs | 0 libm/{libm => }/src/math/lgamma.rs | 0 libm/{libm => }/src/math/lgamma_r.rs | 0 libm/{libm => }/src/math/lgammaf.rs | 0 libm/{libm => }/src/math/lgammaf_r.rs | 0 libm/{libm => }/src/math/log.rs | 0 libm/{libm => }/src/math/log10.rs | 0 libm/{libm => }/src/math/log10f.rs | 0 libm/{libm => }/src/math/log1p.rs | 0 libm/{libm => }/src/math/log1pf.rs | 0 libm/{libm => }/src/math/log2.rs | 0 libm/{libm => }/src/math/log2f.rs | 0 libm/{libm => }/src/math/logf.rs | 0 libm/{libm => }/src/math/mod.rs | 0 libm/{libm => }/src/math/modf.rs | 0 libm/{libm => }/src/math/modff.rs | 0 libm/{libm => }/src/math/nextafter.rs | 0 libm/{libm => }/src/math/nextafterf.rs | 0 libm/{libm => }/src/math/pow.rs | 0 libm/{libm => }/src/math/powf.rs | 0 libm/{libm => }/src/math/rem_pio2.rs | 0 libm/{libm => }/src/math/rem_pio2_large.rs | 0 libm/{libm => }/src/math/rem_pio2f.rs | 0 libm/{libm => }/src/math/remainder.rs | 0 libm/{libm => }/src/math/remainderf.rs | 0 libm/{libm => }/src/math/remquo.rs | 0 libm/{libm => }/src/math/remquof.rs | 0 libm/{libm => }/src/math/rint.rs | 0 libm/{libm => }/src/math/round.rs | 0 libm/{libm => }/src/math/roundeven.rs | 0 libm/{libm => }/src/math/roundf.rs | 0 libm/{libm => }/src/math/roundf128.rs | 0 libm/{libm => }/src/math/roundf16.rs | 0 libm/{libm => }/src/math/scalbn.rs | 0 libm/{libm => }/src/math/scalbnf.rs | 0 libm/{libm => }/src/math/scalbnf128.rs | 0 libm/{libm => }/src/math/scalbnf16.rs | 0 libm/{libm => }/src/math/sin.rs | 0 libm/{libm => }/src/math/sincos.rs | 0 libm/{libm => }/src/math/sincosf.rs | 0 libm/{libm => }/src/math/sinf.rs | 0 libm/{libm => }/src/math/sinh.rs | 0 libm/{libm => }/src/math/sinhf.rs | 0 libm/{libm => }/src/math/sqrt.rs | 0 libm/{libm => }/src/math/sqrtf.rs | 0 libm/{libm => }/src/math/sqrtf128.rs | 0 libm/{libm => }/src/math/sqrtf16.rs | 0 libm/{libm => }/src/math/support/big.rs | 0 libm/{libm => }/src/math/support/big/tests.rs | 0 libm/{libm => }/src/math/support/env.rs | 0 libm/{libm => }/src/math/support/float_traits.rs | 0 libm/{libm => }/src/math/support/hex_float.rs | 0 libm/{libm => }/src/math/support/int_traits.rs | 0 libm/{libm => }/src/math/support/macros.rs | 0 libm/{libm => }/src/math/support/mod.rs | 0 libm/{libm => }/src/math/tan.rs | 0 libm/{libm => }/src/math/tanf.rs | 0 libm/{libm => }/src/math/tanh.rs | 0 libm/{libm => }/src/math/tanhf.rs | 0 libm/{libm => }/src/math/tgamma.rs | 0 libm/{libm => }/src/math/tgammaf.rs | 0 libm/{libm => }/src/math/trunc.rs | 0 libm/{libm => }/src/math/truncf.rs | 0 libm/{libm => }/src/math/truncf128.rs | 0 libm/{libm => }/src/math/truncf16.rs | 0 176 files changed, 1 insertion(+), 1 deletion(-) rename libm/{libm => }/Cargo.toml (100%) rename libm/{libm => }/LICENSE.txt (100%) rename libm/{libm => }/README.md (100%) rename libm/{libm => }/build.rs (100%) rename libm/{libm => }/configure.rs (100%) rename libm/{libm => }/src/lib.rs (100%) rename libm/{libm => }/src/libm_helper.rs (100%) rename libm/{libm => }/src/math/acos.rs (100%) rename libm/{libm => }/src/math/acosf.rs (100%) rename libm/{libm => }/src/math/acosh.rs (100%) rename libm/{libm => }/src/math/acoshf.rs (100%) rename libm/{libm => }/src/math/arch/aarch64.rs (100%) rename libm/{libm => }/src/math/arch/i586.rs (100%) rename libm/{libm => }/src/math/arch/i686.rs (100%) rename libm/{libm => }/src/math/arch/mod.rs (100%) rename libm/{libm => }/src/math/arch/wasm32.rs (100%) rename libm/{libm => }/src/math/asin.rs (100%) rename libm/{libm => }/src/math/asinf.rs (100%) rename libm/{libm => }/src/math/asinh.rs (100%) rename libm/{libm => }/src/math/asinhf.rs (100%) rename libm/{libm => }/src/math/atan.rs (100%) rename libm/{libm => }/src/math/atan2.rs (100%) rename libm/{libm => }/src/math/atan2f.rs (100%) rename libm/{libm => }/src/math/atanf.rs (100%) rename libm/{libm => }/src/math/atanh.rs (100%) rename libm/{libm => }/src/math/atanhf.rs (100%) rename libm/{libm => }/src/math/cbrt.rs (100%) rename libm/{libm => }/src/math/cbrtf.rs (100%) rename libm/{libm => }/src/math/ceil.rs (100%) rename libm/{libm => }/src/math/copysign.rs (100%) rename libm/{libm => }/src/math/copysignf.rs (100%) rename libm/{libm => }/src/math/copysignf128.rs (100%) rename libm/{libm => }/src/math/copysignf16.rs (100%) rename libm/{libm => }/src/math/cos.rs (100%) rename libm/{libm => }/src/math/cosf.rs (100%) rename libm/{libm => }/src/math/cosh.rs (100%) rename libm/{libm => }/src/math/coshf.rs (100%) rename libm/{libm => }/src/math/erf.rs (100%) rename libm/{libm => }/src/math/erff.rs (100%) rename libm/{libm => }/src/math/exp.rs (100%) rename libm/{libm => }/src/math/exp10.rs (100%) rename libm/{libm => }/src/math/exp10f.rs (100%) rename libm/{libm => }/src/math/exp2.rs (100%) rename libm/{libm => }/src/math/exp2f.rs (100%) rename libm/{libm => }/src/math/expf.rs (100%) rename libm/{libm => }/src/math/expm1.rs (100%) rename libm/{libm => }/src/math/expm1f.rs (100%) rename libm/{libm => }/src/math/expo2.rs (100%) rename libm/{libm => }/src/math/fabs.rs (100%) rename libm/{libm => }/src/math/fabsf.rs (100%) rename libm/{libm => }/src/math/fabsf128.rs (100%) rename libm/{libm => }/src/math/fabsf16.rs (100%) rename libm/{libm => }/src/math/fdim.rs (100%) rename libm/{libm => }/src/math/fdimf.rs (100%) rename libm/{libm => }/src/math/fdimf128.rs (100%) rename libm/{libm => }/src/math/fdimf16.rs (100%) rename libm/{libm => }/src/math/floor.rs (100%) rename libm/{libm => }/src/math/floorf.rs (100%) rename libm/{libm => }/src/math/floorf128.rs (100%) rename libm/{libm => }/src/math/floorf16.rs (100%) rename libm/{libm => }/src/math/fma.rs (100%) rename libm/{libm => }/src/math/fma_wide.rs (100%) rename libm/{libm => }/src/math/fmin_fmax.rs (100%) rename libm/{libm => }/src/math/fminimum_fmaximum.rs (100%) rename libm/{libm => }/src/math/fminimum_fmaximum_num.rs (100%) rename libm/{libm => }/src/math/fmod.rs (100%) rename libm/{libm => }/src/math/fmodf.rs (100%) rename libm/{libm => }/src/math/fmodf128.rs (100%) rename libm/{libm => }/src/math/fmodf16.rs (100%) rename libm/{libm => }/src/math/frexp.rs (100%) rename libm/{libm => }/src/math/frexpf.rs (100%) rename libm/{libm => }/src/math/generic/ceil.rs (100%) rename libm/{libm => }/src/math/generic/copysign.rs (100%) rename libm/{libm => }/src/math/generic/fabs.rs (100%) rename libm/{libm => }/src/math/generic/fdim.rs (100%) rename libm/{libm => }/src/math/generic/floor.rs (100%) rename libm/{libm => }/src/math/generic/fmax.rs (100%) rename libm/{libm => }/src/math/generic/fmaximum.rs (100%) rename libm/{libm => }/src/math/generic/fmaximum_num.rs (100%) rename libm/{libm => }/src/math/generic/fmin.rs (100%) rename libm/{libm => }/src/math/generic/fminimum.rs (100%) rename libm/{libm => }/src/math/generic/fminimum_num.rs (100%) rename libm/{libm => }/src/math/generic/fmod.rs (100%) rename libm/{libm => }/src/math/generic/mod.rs (100%) rename libm/{libm => }/src/math/generic/rint.rs (100%) rename libm/{libm => }/src/math/generic/round.rs (100%) rename libm/{libm => }/src/math/generic/scalbn.rs (100%) rename libm/{libm => }/src/math/generic/sqrt.rs (100%) rename libm/{libm => }/src/math/generic/trunc.rs (100%) rename libm/{libm => }/src/math/hypot.rs (100%) rename libm/{libm => }/src/math/hypotf.rs (100%) rename libm/{libm => }/src/math/ilogb.rs (100%) rename libm/{libm => }/src/math/ilogbf.rs (100%) rename libm/{libm => }/src/math/j0.rs (100%) rename libm/{libm => }/src/math/j0f.rs (100%) rename libm/{libm => }/src/math/j1.rs (100%) rename libm/{libm => }/src/math/j1f.rs (100%) rename libm/{libm => }/src/math/jn.rs (100%) rename libm/{libm => }/src/math/jnf.rs (100%) rename libm/{libm => }/src/math/k_cos.rs (100%) rename libm/{libm => }/src/math/k_cosf.rs (100%) rename libm/{libm => }/src/math/k_expo2.rs (100%) rename libm/{libm => }/src/math/k_expo2f.rs (100%) rename libm/{libm => }/src/math/k_sin.rs (100%) rename libm/{libm => }/src/math/k_sinf.rs (100%) rename libm/{libm => }/src/math/k_tan.rs (100%) rename libm/{libm => }/src/math/k_tanf.rs (100%) rename libm/{libm => }/src/math/ldexp.rs (100%) rename libm/{libm => }/src/math/ldexpf.rs (100%) rename libm/{libm => }/src/math/ldexpf128.rs (100%) rename libm/{libm => }/src/math/ldexpf16.rs (100%) rename libm/{libm => }/src/math/lgamma.rs (100%) rename libm/{libm => }/src/math/lgamma_r.rs (100%) rename libm/{libm => }/src/math/lgammaf.rs (100%) rename libm/{libm => }/src/math/lgammaf_r.rs (100%) rename libm/{libm => }/src/math/log.rs (100%) rename libm/{libm => }/src/math/log10.rs (100%) rename libm/{libm => }/src/math/log10f.rs (100%) rename libm/{libm => }/src/math/log1p.rs (100%) rename libm/{libm => }/src/math/log1pf.rs (100%) rename libm/{libm => }/src/math/log2.rs (100%) rename libm/{libm => }/src/math/log2f.rs (100%) rename libm/{libm => }/src/math/logf.rs (100%) rename libm/{libm => }/src/math/mod.rs (100%) rename libm/{libm => }/src/math/modf.rs (100%) rename libm/{libm => }/src/math/modff.rs (100%) rename libm/{libm => }/src/math/nextafter.rs (100%) rename libm/{libm => }/src/math/nextafterf.rs (100%) rename libm/{libm => }/src/math/pow.rs (100%) rename libm/{libm => }/src/math/powf.rs (100%) rename libm/{libm => }/src/math/rem_pio2.rs (100%) rename libm/{libm => }/src/math/rem_pio2_large.rs (100%) rename libm/{libm => }/src/math/rem_pio2f.rs (100%) rename libm/{libm => }/src/math/remainder.rs (100%) rename libm/{libm => }/src/math/remainderf.rs (100%) rename libm/{libm => }/src/math/remquo.rs (100%) rename libm/{libm => }/src/math/remquof.rs (100%) rename libm/{libm => }/src/math/rint.rs (100%) rename libm/{libm => }/src/math/round.rs (100%) rename libm/{libm => }/src/math/roundeven.rs (100%) rename libm/{libm => }/src/math/roundf.rs (100%) rename libm/{libm => }/src/math/roundf128.rs (100%) rename libm/{libm => }/src/math/roundf16.rs (100%) rename libm/{libm => }/src/math/scalbn.rs (100%) rename libm/{libm => }/src/math/scalbnf.rs (100%) rename libm/{libm => }/src/math/scalbnf128.rs (100%) rename libm/{libm => }/src/math/scalbnf16.rs (100%) rename libm/{libm => }/src/math/sin.rs (100%) rename libm/{libm => }/src/math/sincos.rs (100%) rename libm/{libm => }/src/math/sincosf.rs (100%) rename libm/{libm => }/src/math/sinf.rs (100%) rename libm/{libm => }/src/math/sinh.rs (100%) rename libm/{libm => }/src/math/sinhf.rs (100%) rename libm/{libm => }/src/math/sqrt.rs (100%) rename libm/{libm => }/src/math/sqrtf.rs (100%) rename libm/{libm => }/src/math/sqrtf128.rs (100%) rename libm/{libm => }/src/math/sqrtf16.rs (100%) rename libm/{libm => }/src/math/support/big.rs (100%) rename libm/{libm => }/src/math/support/big/tests.rs (100%) rename libm/{libm => }/src/math/support/env.rs (100%) rename libm/{libm => }/src/math/support/float_traits.rs (100%) rename libm/{libm => }/src/math/support/hex_float.rs (100%) rename libm/{libm => }/src/math/support/int_traits.rs (100%) rename libm/{libm => }/src/math/support/macros.rs (100%) rename libm/{libm => }/src/math/support/mod.rs (100%) rename libm/{libm => }/src/math/tan.rs (100%) rename libm/{libm => }/src/math/tanf.rs (100%) rename libm/{libm => }/src/math/tanh.rs (100%) rename libm/{libm => }/src/math/tanhf.rs (100%) rename libm/{libm => }/src/math/tgamma.rs (100%) rename libm/{libm => }/src/math/tgammaf.rs (100%) rename libm/{libm => }/src/math/trunc.rs (100%) rename libm/{libm => }/src/math/truncf.rs (100%) rename libm/{libm => }/src/math/truncf128.rs (100%) rename libm/{libm => }/src/math/truncf16.rs (100%) diff --git a/compiler-builtins/src/math.rs b/compiler-builtins/src/math.rs index bd52a749e..722374f8e 100644 --- a/compiler-builtins/src/math.rs +++ b/compiler-builtins/src/math.rs @@ -2,7 +2,7 @@ #[allow(dead_code)] #[allow(unused_imports)] #[allow(clippy::all)] -#[path = "../../libm/libm/src/math/mod.rs"] +#[path = "../../libm/src/math/mod.rs"] pub(crate) mod libm; macro_rules! libm_intrinsics { diff --git a/libm/libm/Cargo.toml b/libm/Cargo.toml similarity index 100% rename from libm/libm/Cargo.toml rename to libm/Cargo.toml diff --git a/libm/libm/LICENSE.txt b/libm/LICENSE.txt similarity index 100% rename from libm/libm/LICENSE.txt rename to libm/LICENSE.txt diff --git a/libm/libm/README.md b/libm/README.md similarity index 100% rename from libm/libm/README.md rename to libm/README.md diff --git a/libm/libm/build.rs b/libm/build.rs similarity index 100% rename from libm/libm/build.rs rename to libm/build.rs diff --git a/libm/libm/configure.rs b/libm/configure.rs similarity index 100% rename from libm/libm/configure.rs rename to libm/configure.rs diff --git a/libm/libm/src/lib.rs b/libm/src/lib.rs similarity index 100% rename from libm/libm/src/lib.rs rename to libm/src/lib.rs diff --git a/libm/libm/src/libm_helper.rs b/libm/src/libm_helper.rs similarity index 100% rename from libm/libm/src/libm_helper.rs rename to libm/src/libm_helper.rs diff --git a/libm/libm/src/math/acos.rs b/libm/src/math/acos.rs similarity index 100% rename from libm/libm/src/math/acos.rs rename to libm/src/math/acos.rs diff --git a/libm/libm/src/math/acosf.rs b/libm/src/math/acosf.rs similarity index 100% rename from libm/libm/src/math/acosf.rs rename to libm/src/math/acosf.rs diff --git a/libm/libm/src/math/acosh.rs b/libm/src/math/acosh.rs similarity index 100% rename from libm/libm/src/math/acosh.rs rename to libm/src/math/acosh.rs diff --git a/libm/libm/src/math/acoshf.rs b/libm/src/math/acoshf.rs similarity index 100% rename from libm/libm/src/math/acoshf.rs rename to libm/src/math/acoshf.rs diff --git a/libm/libm/src/math/arch/aarch64.rs b/libm/src/math/arch/aarch64.rs similarity index 100% rename from libm/libm/src/math/arch/aarch64.rs rename to libm/src/math/arch/aarch64.rs diff --git a/libm/libm/src/math/arch/i586.rs b/libm/src/math/arch/i586.rs similarity index 100% rename from libm/libm/src/math/arch/i586.rs rename to libm/src/math/arch/i586.rs diff --git a/libm/libm/src/math/arch/i686.rs b/libm/src/math/arch/i686.rs similarity index 100% rename from libm/libm/src/math/arch/i686.rs rename to libm/src/math/arch/i686.rs diff --git a/libm/libm/src/math/arch/mod.rs b/libm/src/math/arch/mod.rs similarity index 100% rename from libm/libm/src/math/arch/mod.rs rename to libm/src/math/arch/mod.rs diff --git a/libm/libm/src/math/arch/wasm32.rs b/libm/src/math/arch/wasm32.rs similarity index 100% rename from libm/libm/src/math/arch/wasm32.rs rename to libm/src/math/arch/wasm32.rs diff --git a/libm/libm/src/math/asin.rs b/libm/src/math/asin.rs similarity index 100% rename from libm/libm/src/math/asin.rs rename to libm/src/math/asin.rs diff --git a/libm/libm/src/math/asinf.rs b/libm/src/math/asinf.rs similarity index 100% rename from libm/libm/src/math/asinf.rs rename to libm/src/math/asinf.rs diff --git a/libm/libm/src/math/asinh.rs b/libm/src/math/asinh.rs similarity index 100% rename from libm/libm/src/math/asinh.rs rename to libm/src/math/asinh.rs diff --git a/libm/libm/src/math/asinhf.rs b/libm/src/math/asinhf.rs similarity index 100% rename from libm/libm/src/math/asinhf.rs rename to libm/src/math/asinhf.rs diff --git a/libm/libm/src/math/atan.rs b/libm/src/math/atan.rs similarity index 100% rename from libm/libm/src/math/atan.rs rename to libm/src/math/atan.rs diff --git a/libm/libm/src/math/atan2.rs b/libm/src/math/atan2.rs similarity index 100% rename from libm/libm/src/math/atan2.rs rename to libm/src/math/atan2.rs diff --git a/libm/libm/src/math/atan2f.rs b/libm/src/math/atan2f.rs similarity index 100% rename from libm/libm/src/math/atan2f.rs rename to libm/src/math/atan2f.rs diff --git a/libm/libm/src/math/atanf.rs b/libm/src/math/atanf.rs similarity index 100% rename from libm/libm/src/math/atanf.rs rename to libm/src/math/atanf.rs diff --git a/libm/libm/src/math/atanh.rs b/libm/src/math/atanh.rs similarity index 100% rename from libm/libm/src/math/atanh.rs rename to libm/src/math/atanh.rs diff --git a/libm/libm/src/math/atanhf.rs b/libm/src/math/atanhf.rs similarity index 100% rename from libm/libm/src/math/atanhf.rs rename to libm/src/math/atanhf.rs diff --git a/libm/libm/src/math/cbrt.rs b/libm/src/math/cbrt.rs similarity index 100% rename from libm/libm/src/math/cbrt.rs rename to libm/src/math/cbrt.rs diff --git a/libm/libm/src/math/cbrtf.rs b/libm/src/math/cbrtf.rs similarity index 100% rename from libm/libm/src/math/cbrtf.rs rename to libm/src/math/cbrtf.rs diff --git a/libm/libm/src/math/ceil.rs b/libm/src/math/ceil.rs similarity index 100% rename from libm/libm/src/math/ceil.rs rename to libm/src/math/ceil.rs diff --git a/libm/libm/src/math/copysign.rs b/libm/src/math/copysign.rs similarity index 100% rename from libm/libm/src/math/copysign.rs rename to libm/src/math/copysign.rs diff --git a/libm/libm/src/math/copysignf.rs b/libm/src/math/copysignf.rs similarity index 100% rename from libm/libm/src/math/copysignf.rs rename to libm/src/math/copysignf.rs diff --git a/libm/libm/src/math/copysignf128.rs b/libm/src/math/copysignf128.rs similarity index 100% rename from libm/libm/src/math/copysignf128.rs rename to libm/src/math/copysignf128.rs diff --git a/libm/libm/src/math/copysignf16.rs b/libm/src/math/copysignf16.rs similarity index 100% rename from libm/libm/src/math/copysignf16.rs rename to libm/src/math/copysignf16.rs diff --git a/libm/libm/src/math/cos.rs b/libm/src/math/cos.rs similarity index 100% rename from libm/libm/src/math/cos.rs rename to libm/src/math/cos.rs diff --git a/libm/libm/src/math/cosf.rs b/libm/src/math/cosf.rs similarity index 100% rename from libm/libm/src/math/cosf.rs rename to libm/src/math/cosf.rs diff --git a/libm/libm/src/math/cosh.rs b/libm/src/math/cosh.rs similarity index 100% rename from libm/libm/src/math/cosh.rs rename to libm/src/math/cosh.rs diff --git a/libm/libm/src/math/coshf.rs b/libm/src/math/coshf.rs similarity index 100% rename from libm/libm/src/math/coshf.rs rename to libm/src/math/coshf.rs diff --git a/libm/libm/src/math/erf.rs b/libm/src/math/erf.rs similarity index 100% rename from libm/libm/src/math/erf.rs rename to libm/src/math/erf.rs diff --git a/libm/libm/src/math/erff.rs b/libm/src/math/erff.rs similarity index 100% rename from libm/libm/src/math/erff.rs rename to libm/src/math/erff.rs diff --git a/libm/libm/src/math/exp.rs b/libm/src/math/exp.rs similarity index 100% rename from libm/libm/src/math/exp.rs rename to libm/src/math/exp.rs diff --git a/libm/libm/src/math/exp10.rs b/libm/src/math/exp10.rs similarity index 100% rename from libm/libm/src/math/exp10.rs rename to libm/src/math/exp10.rs diff --git a/libm/libm/src/math/exp10f.rs b/libm/src/math/exp10f.rs similarity index 100% rename from libm/libm/src/math/exp10f.rs rename to libm/src/math/exp10f.rs diff --git a/libm/libm/src/math/exp2.rs b/libm/src/math/exp2.rs similarity index 100% rename from libm/libm/src/math/exp2.rs rename to libm/src/math/exp2.rs diff --git a/libm/libm/src/math/exp2f.rs b/libm/src/math/exp2f.rs similarity index 100% rename from libm/libm/src/math/exp2f.rs rename to libm/src/math/exp2f.rs diff --git a/libm/libm/src/math/expf.rs b/libm/src/math/expf.rs similarity index 100% rename from libm/libm/src/math/expf.rs rename to libm/src/math/expf.rs diff --git a/libm/libm/src/math/expm1.rs b/libm/src/math/expm1.rs similarity index 100% rename from libm/libm/src/math/expm1.rs rename to libm/src/math/expm1.rs diff --git a/libm/libm/src/math/expm1f.rs b/libm/src/math/expm1f.rs similarity index 100% rename from libm/libm/src/math/expm1f.rs rename to libm/src/math/expm1f.rs diff --git a/libm/libm/src/math/expo2.rs b/libm/src/math/expo2.rs similarity index 100% rename from libm/libm/src/math/expo2.rs rename to libm/src/math/expo2.rs diff --git a/libm/libm/src/math/fabs.rs b/libm/src/math/fabs.rs similarity index 100% rename from libm/libm/src/math/fabs.rs rename to libm/src/math/fabs.rs diff --git a/libm/libm/src/math/fabsf.rs b/libm/src/math/fabsf.rs similarity index 100% rename from libm/libm/src/math/fabsf.rs rename to libm/src/math/fabsf.rs diff --git a/libm/libm/src/math/fabsf128.rs b/libm/src/math/fabsf128.rs similarity index 100% rename from libm/libm/src/math/fabsf128.rs rename to libm/src/math/fabsf128.rs diff --git a/libm/libm/src/math/fabsf16.rs b/libm/src/math/fabsf16.rs similarity index 100% rename from libm/libm/src/math/fabsf16.rs rename to libm/src/math/fabsf16.rs diff --git a/libm/libm/src/math/fdim.rs b/libm/src/math/fdim.rs similarity index 100% rename from libm/libm/src/math/fdim.rs rename to libm/src/math/fdim.rs diff --git a/libm/libm/src/math/fdimf.rs b/libm/src/math/fdimf.rs similarity index 100% rename from libm/libm/src/math/fdimf.rs rename to libm/src/math/fdimf.rs diff --git a/libm/libm/src/math/fdimf128.rs b/libm/src/math/fdimf128.rs similarity index 100% rename from libm/libm/src/math/fdimf128.rs rename to libm/src/math/fdimf128.rs diff --git a/libm/libm/src/math/fdimf16.rs b/libm/src/math/fdimf16.rs similarity index 100% rename from libm/libm/src/math/fdimf16.rs rename to libm/src/math/fdimf16.rs diff --git a/libm/libm/src/math/floor.rs b/libm/src/math/floor.rs similarity index 100% rename from libm/libm/src/math/floor.rs rename to libm/src/math/floor.rs diff --git a/libm/libm/src/math/floorf.rs b/libm/src/math/floorf.rs similarity index 100% rename from libm/libm/src/math/floorf.rs rename to libm/src/math/floorf.rs diff --git a/libm/libm/src/math/floorf128.rs b/libm/src/math/floorf128.rs similarity index 100% rename from libm/libm/src/math/floorf128.rs rename to libm/src/math/floorf128.rs diff --git a/libm/libm/src/math/floorf16.rs b/libm/src/math/floorf16.rs similarity index 100% rename from libm/libm/src/math/floorf16.rs rename to libm/src/math/floorf16.rs diff --git a/libm/libm/src/math/fma.rs b/libm/src/math/fma.rs similarity index 100% rename from libm/libm/src/math/fma.rs rename to libm/src/math/fma.rs diff --git a/libm/libm/src/math/fma_wide.rs b/libm/src/math/fma_wide.rs similarity index 100% rename from libm/libm/src/math/fma_wide.rs rename to libm/src/math/fma_wide.rs diff --git a/libm/libm/src/math/fmin_fmax.rs b/libm/src/math/fmin_fmax.rs similarity index 100% rename from libm/libm/src/math/fmin_fmax.rs rename to libm/src/math/fmin_fmax.rs diff --git a/libm/libm/src/math/fminimum_fmaximum.rs b/libm/src/math/fminimum_fmaximum.rs similarity index 100% rename from libm/libm/src/math/fminimum_fmaximum.rs rename to libm/src/math/fminimum_fmaximum.rs diff --git a/libm/libm/src/math/fminimum_fmaximum_num.rs b/libm/src/math/fminimum_fmaximum_num.rs similarity index 100% rename from libm/libm/src/math/fminimum_fmaximum_num.rs rename to libm/src/math/fminimum_fmaximum_num.rs diff --git a/libm/libm/src/math/fmod.rs b/libm/src/math/fmod.rs similarity index 100% rename from libm/libm/src/math/fmod.rs rename to libm/src/math/fmod.rs diff --git a/libm/libm/src/math/fmodf.rs b/libm/src/math/fmodf.rs similarity index 100% rename from libm/libm/src/math/fmodf.rs rename to libm/src/math/fmodf.rs diff --git a/libm/libm/src/math/fmodf128.rs b/libm/src/math/fmodf128.rs similarity index 100% rename from libm/libm/src/math/fmodf128.rs rename to libm/src/math/fmodf128.rs diff --git a/libm/libm/src/math/fmodf16.rs b/libm/src/math/fmodf16.rs similarity index 100% rename from libm/libm/src/math/fmodf16.rs rename to libm/src/math/fmodf16.rs diff --git a/libm/libm/src/math/frexp.rs b/libm/src/math/frexp.rs similarity index 100% rename from libm/libm/src/math/frexp.rs rename to libm/src/math/frexp.rs diff --git a/libm/libm/src/math/frexpf.rs b/libm/src/math/frexpf.rs similarity index 100% rename from libm/libm/src/math/frexpf.rs rename to libm/src/math/frexpf.rs diff --git a/libm/libm/src/math/generic/ceil.rs b/libm/src/math/generic/ceil.rs similarity index 100% rename from libm/libm/src/math/generic/ceil.rs rename to libm/src/math/generic/ceil.rs diff --git a/libm/libm/src/math/generic/copysign.rs b/libm/src/math/generic/copysign.rs similarity index 100% rename from libm/libm/src/math/generic/copysign.rs rename to libm/src/math/generic/copysign.rs diff --git a/libm/libm/src/math/generic/fabs.rs b/libm/src/math/generic/fabs.rs similarity index 100% rename from libm/libm/src/math/generic/fabs.rs rename to libm/src/math/generic/fabs.rs diff --git a/libm/libm/src/math/generic/fdim.rs b/libm/src/math/generic/fdim.rs similarity index 100% rename from libm/libm/src/math/generic/fdim.rs rename to libm/src/math/generic/fdim.rs diff --git a/libm/libm/src/math/generic/floor.rs b/libm/src/math/generic/floor.rs similarity index 100% rename from libm/libm/src/math/generic/floor.rs rename to libm/src/math/generic/floor.rs diff --git a/libm/libm/src/math/generic/fmax.rs b/libm/src/math/generic/fmax.rs similarity index 100% rename from libm/libm/src/math/generic/fmax.rs rename to libm/src/math/generic/fmax.rs diff --git a/libm/libm/src/math/generic/fmaximum.rs b/libm/src/math/generic/fmaximum.rs similarity index 100% rename from libm/libm/src/math/generic/fmaximum.rs rename to libm/src/math/generic/fmaximum.rs diff --git a/libm/libm/src/math/generic/fmaximum_num.rs b/libm/src/math/generic/fmaximum_num.rs similarity index 100% rename from libm/libm/src/math/generic/fmaximum_num.rs rename to libm/src/math/generic/fmaximum_num.rs diff --git a/libm/libm/src/math/generic/fmin.rs b/libm/src/math/generic/fmin.rs similarity index 100% rename from libm/libm/src/math/generic/fmin.rs rename to libm/src/math/generic/fmin.rs diff --git a/libm/libm/src/math/generic/fminimum.rs b/libm/src/math/generic/fminimum.rs similarity index 100% rename from libm/libm/src/math/generic/fminimum.rs rename to libm/src/math/generic/fminimum.rs diff --git a/libm/libm/src/math/generic/fminimum_num.rs b/libm/src/math/generic/fminimum_num.rs similarity index 100% rename from libm/libm/src/math/generic/fminimum_num.rs rename to libm/src/math/generic/fminimum_num.rs diff --git a/libm/libm/src/math/generic/fmod.rs b/libm/src/math/generic/fmod.rs similarity index 100% rename from libm/libm/src/math/generic/fmod.rs rename to libm/src/math/generic/fmod.rs diff --git a/libm/libm/src/math/generic/mod.rs b/libm/src/math/generic/mod.rs similarity index 100% rename from libm/libm/src/math/generic/mod.rs rename to libm/src/math/generic/mod.rs diff --git a/libm/libm/src/math/generic/rint.rs b/libm/src/math/generic/rint.rs similarity index 100% rename from libm/libm/src/math/generic/rint.rs rename to libm/src/math/generic/rint.rs diff --git a/libm/libm/src/math/generic/round.rs b/libm/src/math/generic/round.rs similarity index 100% rename from libm/libm/src/math/generic/round.rs rename to libm/src/math/generic/round.rs diff --git a/libm/libm/src/math/generic/scalbn.rs b/libm/src/math/generic/scalbn.rs similarity index 100% rename from libm/libm/src/math/generic/scalbn.rs rename to libm/src/math/generic/scalbn.rs diff --git a/libm/libm/src/math/generic/sqrt.rs b/libm/src/math/generic/sqrt.rs similarity index 100% rename from libm/libm/src/math/generic/sqrt.rs rename to libm/src/math/generic/sqrt.rs diff --git a/libm/libm/src/math/generic/trunc.rs b/libm/src/math/generic/trunc.rs similarity index 100% rename from libm/libm/src/math/generic/trunc.rs rename to libm/src/math/generic/trunc.rs diff --git a/libm/libm/src/math/hypot.rs b/libm/src/math/hypot.rs similarity index 100% rename from libm/libm/src/math/hypot.rs rename to libm/src/math/hypot.rs diff --git a/libm/libm/src/math/hypotf.rs b/libm/src/math/hypotf.rs similarity index 100% rename from libm/libm/src/math/hypotf.rs rename to libm/src/math/hypotf.rs diff --git a/libm/libm/src/math/ilogb.rs b/libm/src/math/ilogb.rs similarity index 100% rename from libm/libm/src/math/ilogb.rs rename to libm/src/math/ilogb.rs diff --git a/libm/libm/src/math/ilogbf.rs b/libm/src/math/ilogbf.rs similarity index 100% rename from libm/libm/src/math/ilogbf.rs rename to libm/src/math/ilogbf.rs diff --git a/libm/libm/src/math/j0.rs b/libm/src/math/j0.rs similarity index 100% rename from libm/libm/src/math/j0.rs rename to libm/src/math/j0.rs diff --git a/libm/libm/src/math/j0f.rs b/libm/src/math/j0f.rs similarity index 100% rename from libm/libm/src/math/j0f.rs rename to libm/src/math/j0f.rs diff --git a/libm/libm/src/math/j1.rs b/libm/src/math/j1.rs similarity index 100% rename from libm/libm/src/math/j1.rs rename to libm/src/math/j1.rs diff --git a/libm/libm/src/math/j1f.rs b/libm/src/math/j1f.rs similarity index 100% rename from libm/libm/src/math/j1f.rs rename to libm/src/math/j1f.rs diff --git a/libm/libm/src/math/jn.rs b/libm/src/math/jn.rs similarity index 100% rename from libm/libm/src/math/jn.rs rename to libm/src/math/jn.rs diff --git a/libm/libm/src/math/jnf.rs b/libm/src/math/jnf.rs similarity index 100% rename from libm/libm/src/math/jnf.rs rename to libm/src/math/jnf.rs diff --git a/libm/libm/src/math/k_cos.rs b/libm/src/math/k_cos.rs similarity index 100% rename from libm/libm/src/math/k_cos.rs rename to libm/src/math/k_cos.rs diff --git a/libm/libm/src/math/k_cosf.rs b/libm/src/math/k_cosf.rs similarity index 100% rename from libm/libm/src/math/k_cosf.rs rename to libm/src/math/k_cosf.rs diff --git a/libm/libm/src/math/k_expo2.rs b/libm/src/math/k_expo2.rs similarity index 100% rename from libm/libm/src/math/k_expo2.rs rename to libm/src/math/k_expo2.rs diff --git a/libm/libm/src/math/k_expo2f.rs b/libm/src/math/k_expo2f.rs similarity index 100% rename from libm/libm/src/math/k_expo2f.rs rename to libm/src/math/k_expo2f.rs diff --git a/libm/libm/src/math/k_sin.rs b/libm/src/math/k_sin.rs similarity index 100% rename from libm/libm/src/math/k_sin.rs rename to libm/src/math/k_sin.rs diff --git a/libm/libm/src/math/k_sinf.rs b/libm/src/math/k_sinf.rs similarity index 100% rename from libm/libm/src/math/k_sinf.rs rename to libm/src/math/k_sinf.rs diff --git a/libm/libm/src/math/k_tan.rs b/libm/src/math/k_tan.rs similarity index 100% rename from libm/libm/src/math/k_tan.rs rename to libm/src/math/k_tan.rs diff --git a/libm/libm/src/math/k_tanf.rs b/libm/src/math/k_tanf.rs similarity index 100% rename from libm/libm/src/math/k_tanf.rs rename to libm/src/math/k_tanf.rs diff --git a/libm/libm/src/math/ldexp.rs b/libm/src/math/ldexp.rs similarity index 100% rename from libm/libm/src/math/ldexp.rs rename to libm/src/math/ldexp.rs diff --git a/libm/libm/src/math/ldexpf.rs b/libm/src/math/ldexpf.rs similarity index 100% rename from libm/libm/src/math/ldexpf.rs rename to libm/src/math/ldexpf.rs diff --git a/libm/libm/src/math/ldexpf128.rs b/libm/src/math/ldexpf128.rs similarity index 100% rename from libm/libm/src/math/ldexpf128.rs rename to libm/src/math/ldexpf128.rs diff --git a/libm/libm/src/math/ldexpf16.rs b/libm/src/math/ldexpf16.rs similarity index 100% rename from libm/libm/src/math/ldexpf16.rs rename to libm/src/math/ldexpf16.rs diff --git a/libm/libm/src/math/lgamma.rs b/libm/src/math/lgamma.rs similarity index 100% rename from libm/libm/src/math/lgamma.rs rename to libm/src/math/lgamma.rs diff --git a/libm/libm/src/math/lgamma_r.rs b/libm/src/math/lgamma_r.rs similarity index 100% rename from libm/libm/src/math/lgamma_r.rs rename to libm/src/math/lgamma_r.rs diff --git a/libm/libm/src/math/lgammaf.rs b/libm/src/math/lgammaf.rs similarity index 100% rename from libm/libm/src/math/lgammaf.rs rename to libm/src/math/lgammaf.rs diff --git a/libm/libm/src/math/lgammaf_r.rs b/libm/src/math/lgammaf_r.rs similarity index 100% rename from libm/libm/src/math/lgammaf_r.rs rename to libm/src/math/lgammaf_r.rs diff --git a/libm/libm/src/math/log.rs b/libm/src/math/log.rs similarity index 100% rename from libm/libm/src/math/log.rs rename to libm/src/math/log.rs diff --git a/libm/libm/src/math/log10.rs b/libm/src/math/log10.rs similarity index 100% rename from libm/libm/src/math/log10.rs rename to libm/src/math/log10.rs diff --git a/libm/libm/src/math/log10f.rs b/libm/src/math/log10f.rs similarity index 100% rename from libm/libm/src/math/log10f.rs rename to libm/src/math/log10f.rs diff --git a/libm/libm/src/math/log1p.rs b/libm/src/math/log1p.rs similarity index 100% rename from libm/libm/src/math/log1p.rs rename to libm/src/math/log1p.rs diff --git a/libm/libm/src/math/log1pf.rs b/libm/src/math/log1pf.rs similarity index 100% rename from libm/libm/src/math/log1pf.rs rename to libm/src/math/log1pf.rs diff --git a/libm/libm/src/math/log2.rs b/libm/src/math/log2.rs similarity index 100% rename from libm/libm/src/math/log2.rs rename to libm/src/math/log2.rs diff --git a/libm/libm/src/math/log2f.rs b/libm/src/math/log2f.rs similarity index 100% rename from libm/libm/src/math/log2f.rs rename to libm/src/math/log2f.rs diff --git a/libm/libm/src/math/logf.rs b/libm/src/math/logf.rs similarity index 100% rename from libm/libm/src/math/logf.rs rename to libm/src/math/logf.rs diff --git a/libm/libm/src/math/mod.rs b/libm/src/math/mod.rs similarity index 100% rename from libm/libm/src/math/mod.rs rename to libm/src/math/mod.rs diff --git a/libm/libm/src/math/modf.rs b/libm/src/math/modf.rs similarity index 100% rename from libm/libm/src/math/modf.rs rename to libm/src/math/modf.rs diff --git a/libm/libm/src/math/modff.rs b/libm/src/math/modff.rs similarity index 100% rename from libm/libm/src/math/modff.rs rename to libm/src/math/modff.rs diff --git a/libm/libm/src/math/nextafter.rs b/libm/src/math/nextafter.rs similarity index 100% rename from libm/libm/src/math/nextafter.rs rename to libm/src/math/nextafter.rs diff --git a/libm/libm/src/math/nextafterf.rs b/libm/src/math/nextafterf.rs similarity index 100% rename from libm/libm/src/math/nextafterf.rs rename to libm/src/math/nextafterf.rs diff --git a/libm/libm/src/math/pow.rs b/libm/src/math/pow.rs similarity index 100% rename from libm/libm/src/math/pow.rs rename to libm/src/math/pow.rs diff --git a/libm/libm/src/math/powf.rs b/libm/src/math/powf.rs similarity index 100% rename from libm/libm/src/math/powf.rs rename to libm/src/math/powf.rs diff --git a/libm/libm/src/math/rem_pio2.rs b/libm/src/math/rem_pio2.rs similarity index 100% rename from libm/libm/src/math/rem_pio2.rs rename to libm/src/math/rem_pio2.rs diff --git a/libm/libm/src/math/rem_pio2_large.rs b/libm/src/math/rem_pio2_large.rs similarity index 100% rename from libm/libm/src/math/rem_pio2_large.rs rename to libm/src/math/rem_pio2_large.rs diff --git a/libm/libm/src/math/rem_pio2f.rs b/libm/src/math/rem_pio2f.rs similarity index 100% rename from libm/libm/src/math/rem_pio2f.rs rename to libm/src/math/rem_pio2f.rs diff --git a/libm/libm/src/math/remainder.rs b/libm/src/math/remainder.rs similarity index 100% rename from libm/libm/src/math/remainder.rs rename to libm/src/math/remainder.rs diff --git a/libm/libm/src/math/remainderf.rs b/libm/src/math/remainderf.rs similarity index 100% rename from libm/libm/src/math/remainderf.rs rename to libm/src/math/remainderf.rs diff --git a/libm/libm/src/math/remquo.rs b/libm/src/math/remquo.rs similarity index 100% rename from libm/libm/src/math/remquo.rs rename to libm/src/math/remquo.rs diff --git a/libm/libm/src/math/remquof.rs b/libm/src/math/remquof.rs similarity index 100% rename from libm/libm/src/math/remquof.rs rename to libm/src/math/remquof.rs diff --git a/libm/libm/src/math/rint.rs b/libm/src/math/rint.rs similarity index 100% rename from libm/libm/src/math/rint.rs rename to libm/src/math/rint.rs diff --git a/libm/libm/src/math/round.rs b/libm/src/math/round.rs similarity index 100% rename from libm/libm/src/math/round.rs rename to libm/src/math/round.rs diff --git a/libm/libm/src/math/roundeven.rs b/libm/src/math/roundeven.rs similarity index 100% rename from libm/libm/src/math/roundeven.rs rename to libm/src/math/roundeven.rs diff --git a/libm/libm/src/math/roundf.rs b/libm/src/math/roundf.rs similarity index 100% rename from libm/libm/src/math/roundf.rs rename to libm/src/math/roundf.rs diff --git a/libm/libm/src/math/roundf128.rs b/libm/src/math/roundf128.rs similarity index 100% rename from libm/libm/src/math/roundf128.rs rename to libm/src/math/roundf128.rs diff --git a/libm/libm/src/math/roundf16.rs b/libm/src/math/roundf16.rs similarity index 100% rename from libm/libm/src/math/roundf16.rs rename to libm/src/math/roundf16.rs diff --git a/libm/libm/src/math/scalbn.rs b/libm/src/math/scalbn.rs similarity index 100% rename from libm/libm/src/math/scalbn.rs rename to libm/src/math/scalbn.rs diff --git a/libm/libm/src/math/scalbnf.rs b/libm/src/math/scalbnf.rs similarity index 100% rename from libm/libm/src/math/scalbnf.rs rename to libm/src/math/scalbnf.rs diff --git a/libm/libm/src/math/scalbnf128.rs b/libm/src/math/scalbnf128.rs similarity index 100% rename from libm/libm/src/math/scalbnf128.rs rename to libm/src/math/scalbnf128.rs diff --git a/libm/libm/src/math/scalbnf16.rs b/libm/src/math/scalbnf16.rs similarity index 100% rename from libm/libm/src/math/scalbnf16.rs rename to libm/src/math/scalbnf16.rs diff --git a/libm/libm/src/math/sin.rs b/libm/src/math/sin.rs similarity index 100% rename from libm/libm/src/math/sin.rs rename to libm/src/math/sin.rs diff --git a/libm/libm/src/math/sincos.rs b/libm/src/math/sincos.rs similarity index 100% rename from libm/libm/src/math/sincos.rs rename to libm/src/math/sincos.rs diff --git a/libm/libm/src/math/sincosf.rs b/libm/src/math/sincosf.rs similarity index 100% rename from libm/libm/src/math/sincosf.rs rename to libm/src/math/sincosf.rs diff --git a/libm/libm/src/math/sinf.rs b/libm/src/math/sinf.rs similarity index 100% rename from libm/libm/src/math/sinf.rs rename to libm/src/math/sinf.rs diff --git a/libm/libm/src/math/sinh.rs b/libm/src/math/sinh.rs similarity index 100% rename from libm/libm/src/math/sinh.rs rename to libm/src/math/sinh.rs diff --git a/libm/libm/src/math/sinhf.rs b/libm/src/math/sinhf.rs similarity index 100% rename from libm/libm/src/math/sinhf.rs rename to libm/src/math/sinhf.rs diff --git a/libm/libm/src/math/sqrt.rs b/libm/src/math/sqrt.rs similarity index 100% rename from libm/libm/src/math/sqrt.rs rename to libm/src/math/sqrt.rs diff --git a/libm/libm/src/math/sqrtf.rs b/libm/src/math/sqrtf.rs similarity index 100% rename from libm/libm/src/math/sqrtf.rs rename to libm/src/math/sqrtf.rs diff --git a/libm/libm/src/math/sqrtf128.rs b/libm/src/math/sqrtf128.rs similarity index 100% rename from libm/libm/src/math/sqrtf128.rs rename to libm/src/math/sqrtf128.rs diff --git a/libm/libm/src/math/sqrtf16.rs b/libm/src/math/sqrtf16.rs similarity index 100% rename from libm/libm/src/math/sqrtf16.rs rename to libm/src/math/sqrtf16.rs diff --git a/libm/libm/src/math/support/big.rs b/libm/src/math/support/big.rs similarity index 100% rename from libm/libm/src/math/support/big.rs rename to libm/src/math/support/big.rs diff --git a/libm/libm/src/math/support/big/tests.rs b/libm/src/math/support/big/tests.rs similarity index 100% rename from libm/libm/src/math/support/big/tests.rs rename to libm/src/math/support/big/tests.rs diff --git a/libm/libm/src/math/support/env.rs b/libm/src/math/support/env.rs similarity index 100% rename from libm/libm/src/math/support/env.rs rename to libm/src/math/support/env.rs diff --git a/libm/libm/src/math/support/float_traits.rs b/libm/src/math/support/float_traits.rs similarity index 100% rename from libm/libm/src/math/support/float_traits.rs rename to libm/src/math/support/float_traits.rs diff --git a/libm/libm/src/math/support/hex_float.rs b/libm/src/math/support/hex_float.rs similarity index 100% rename from libm/libm/src/math/support/hex_float.rs rename to libm/src/math/support/hex_float.rs diff --git a/libm/libm/src/math/support/int_traits.rs b/libm/src/math/support/int_traits.rs similarity index 100% rename from libm/libm/src/math/support/int_traits.rs rename to libm/src/math/support/int_traits.rs diff --git a/libm/libm/src/math/support/macros.rs b/libm/src/math/support/macros.rs similarity index 100% rename from libm/libm/src/math/support/macros.rs rename to libm/src/math/support/macros.rs diff --git a/libm/libm/src/math/support/mod.rs b/libm/src/math/support/mod.rs similarity index 100% rename from libm/libm/src/math/support/mod.rs rename to libm/src/math/support/mod.rs diff --git a/libm/libm/src/math/tan.rs b/libm/src/math/tan.rs similarity index 100% rename from libm/libm/src/math/tan.rs rename to libm/src/math/tan.rs diff --git a/libm/libm/src/math/tanf.rs b/libm/src/math/tanf.rs similarity index 100% rename from libm/libm/src/math/tanf.rs rename to libm/src/math/tanf.rs diff --git a/libm/libm/src/math/tanh.rs b/libm/src/math/tanh.rs similarity index 100% rename from libm/libm/src/math/tanh.rs rename to libm/src/math/tanh.rs diff --git a/libm/libm/src/math/tanhf.rs b/libm/src/math/tanhf.rs similarity index 100% rename from libm/libm/src/math/tanhf.rs rename to libm/src/math/tanhf.rs diff --git a/libm/libm/src/math/tgamma.rs b/libm/src/math/tgamma.rs similarity index 100% rename from libm/libm/src/math/tgamma.rs rename to libm/src/math/tgamma.rs diff --git a/libm/libm/src/math/tgammaf.rs b/libm/src/math/tgammaf.rs similarity index 100% rename from libm/libm/src/math/tgammaf.rs rename to libm/src/math/tgammaf.rs diff --git a/libm/libm/src/math/trunc.rs b/libm/src/math/trunc.rs similarity index 100% rename from libm/libm/src/math/trunc.rs rename to libm/src/math/trunc.rs diff --git a/libm/libm/src/math/truncf.rs b/libm/src/math/truncf.rs similarity index 100% rename from libm/libm/src/math/truncf.rs rename to libm/src/math/truncf.rs diff --git a/libm/libm/src/math/truncf128.rs b/libm/src/math/truncf128.rs similarity index 100% rename from libm/libm/src/math/truncf128.rs rename to libm/src/math/truncf128.rs diff --git a/libm/libm/src/math/truncf16.rs b/libm/src/math/truncf16.rs similarity index 100% rename from libm/libm/src/math/truncf16.rs rename to libm/src/math/truncf16.rs