mirror of
https://github.com/rust-lang/rust.git
synced 2026-01-21 21:20:32 +00:00
Get performance closer to the glibc implementations by adding assembly
fma routines, with runtime feature detection so they are used even if
not compiled with `+fma` (as the distributed standard library is often
not). Glibc uses ifuncs, this implementation stores a function pointer
in an atomic.
Results of CPU flags are also cached in order to avoid repeating the
startup time in calls to different functions. The feature detection code
is a slightly simplified version of `std-detect`.
Musl sources were used as a reference [1].
Fixes: https://github.com/rust-lang/rust/issues/140452 once synced
[1]: c47ad25ea3/src/math/x32/fma.c
1072 lines
23 KiB
JSON
1072 lines
23 KiB
JSON
{
|
|
"__comment": "Autogenerated by update-api-list.py. List of files that define a function with a given name. This file is checked in to make it obvious if refactoring breaks things",
|
|
"acos": {
|
|
"sources": [
|
|
"libm/src/math/acos.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"acosf": {
|
|
"sources": [
|
|
"libm/src/math/acosf.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"acosh": {
|
|
"sources": [
|
|
"libm/src/math/acosh.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"acoshf": {
|
|
"sources": [
|
|
"libm/src/math/acoshf.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"asin": {
|
|
"sources": [
|
|
"libm/src/math/asin.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"asinf": {
|
|
"sources": [
|
|
"libm/src/math/asinf.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"asinh": {
|
|
"sources": [
|
|
"libm/src/math/asinh.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"asinhf": {
|
|
"sources": [
|
|
"libm/src/math/asinhf.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"atan": {
|
|
"sources": [
|
|
"libm/src/math/atan.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"atan2": {
|
|
"sources": [
|
|
"libm/src/math/atan2.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"atan2f": {
|
|
"sources": [
|
|
"libm/src/math/atan2f.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"atanf": {
|
|
"sources": [
|
|
"libm/src/math/atanf.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"atanh": {
|
|
"sources": [
|
|
"libm/src/math/atanh.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"atanhf": {
|
|
"sources": [
|
|
"libm/src/math/atanhf.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"cbrt": {
|
|
"sources": [
|
|
"libm/src/math/cbrt.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"cbrtf": {
|
|
"sources": [
|
|
"libm/src/math/cbrtf.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"ceil": {
|
|
"sources": [
|
|
"libm/src/math/arch/i586.rs",
|
|
"libm/src/math/arch/wasm32.rs",
|
|
"libm/src/math/ceil.rs",
|
|
"libm/src/math/generic/ceil.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"ceilf": {
|
|
"sources": [
|
|
"libm/src/math/arch/wasm32.rs",
|
|
"libm/src/math/ceil.rs",
|
|
"libm/src/math/generic/ceil.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"ceilf128": {
|
|
"sources": [
|
|
"libm/src/math/ceil.rs",
|
|
"libm/src/math/generic/ceil.rs"
|
|
],
|
|
"type": "f128"
|
|
},
|
|
"ceilf16": {
|
|
"sources": [
|
|
"libm/src/math/ceil.rs",
|
|
"libm/src/math/generic/ceil.rs"
|
|
],
|
|
"type": "f16"
|
|
},
|
|
"copysign": {
|
|
"sources": [
|
|
"libm/src/math/copysign.rs",
|
|
"libm/src/math/generic/copysign.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"copysignf": {
|
|
"sources": [
|
|
"libm/src/math/copysign.rs",
|
|
"libm/src/math/generic/copysign.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"copysignf128": {
|
|
"sources": [
|
|
"libm/src/math/copysign.rs",
|
|
"libm/src/math/generic/copysign.rs"
|
|
],
|
|
"type": "f128"
|
|
},
|
|
"copysignf16": {
|
|
"sources": [
|
|
"libm/src/math/copysign.rs",
|
|
"libm/src/math/generic/copysign.rs"
|
|
],
|
|
"type": "f16"
|
|
},
|
|
"cos": {
|
|
"sources": [
|
|
"libm/src/math/cos.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"cosf": {
|
|
"sources": [
|
|
"libm/src/math/cosf.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"cosh": {
|
|
"sources": [
|
|
"libm/src/math/cosh.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"coshf": {
|
|
"sources": [
|
|
"libm/src/math/coshf.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"erf": {
|
|
"sources": [
|
|
"libm/src/math/erf.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"erfc": {
|
|
"sources": [
|
|
"libm/src/math/erf.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"erfcf": {
|
|
"sources": [
|
|
"libm/src/math/erff.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"erff": {
|
|
"sources": [
|
|
"libm/src/math/erff.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"exp": {
|
|
"sources": [
|
|
"libm/src/math/exp.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"exp10": {
|
|
"sources": [
|
|
"libm/src/math/exp10.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"exp10f": {
|
|
"sources": [
|
|
"libm/src/math/exp10f.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"exp2": {
|
|
"sources": [
|
|
"libm/src/math/exp2.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"exp2f": {
|
|
"sources": [
|
|
"libm/src/math/exp2f.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"expf": {
|
|
"sources": [
|
|
"libm/src/math/expf.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"expm1": {
|
|
"sources": [
|
|
"libm/src/math/expm1.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"expm1f": {
|
|
"sources": [
|
|
"libm/src/math/expm1f.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"fabs": {
|
|
"sources": [
|
|
"libm/src/math/arch/wasm32.rs",
|
|
"libm/src/math/fabs.rs",
|
|
"libm/src/math/generic/fabs.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"fabsf": {
|
|
"sources": [
|
|
"libm/src/math/arch/wasm32.rs",
|
|
"libm/src/math/fabs.rs",
|
|
"libm/src/math/generic/fabs.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"fabsf128": {
|
|
"sources": [
|
|
"libm/src/math/fabs.rs",
|
|
"libm/src/math/generic/fabs.rs"
|
|
],
|
|
"type": "f128"
|
|
},
|
|
"fabsf16": {
|
|
"sources": [
|
|
"libm/src/math/fabs.rs",
|
|
"libm/src/math/generic/fabs.rs"
|
|
],
|
|
"type": "f16"
|
|
},
|
|
"fdim": {
|
|
"sources": [
|
|
"libm/src/math/fdim.rs",
|
|
"libm/src/math/generic/fdim.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"fdimf": {
|
|
"sources": [
|
|
"libm/src/math/fdim.rs",
|
|
"libm/src/math/generic/fdim.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"fdimf128": {
|
|
"sources": [
|
|
"libm/src/math/fdim.rs",
|
|
"libm/src/math/generic/fdim.rs"
|
|
],
|
|
"type": "f128"
|
|
},
|
|
"fdimf16": {
|
|
"sources": [
|
|
"libm/src/math/fdim.rs",
|
|
"libm/src/math/generic/fdim.rs"
|
|
],
|
|
"type": "f16"
|
|
},
|
|
"floor": {
|
|
"sources": [
|
|
"libm/src/math/arch/i586.rs",
|
|
"libm/src/math/arch/wasm32.rs",
|
|
"libm/src/math/floor.rs",
|
|
"libm/src/math/generic/floor.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"floorf": {
|
|
"sources": [
|
|
"libm/src/math/arch/wasm32.rs",
|
|
"libm/src/math/floor.rs",
|
|
"libm/src/math/generic/floor.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"floorf128": {
|
|
"sources": [
|
|
"libm/src/math/floor.rs",
|
|
"libm/src/math/generic/floor.rs"
|
|
],
|
|
"type": "f128"
|
|
},
|
|
"floorf16": {
|
|
"sources": [
|
|
"libm/src/math/floor.rs",
|
|
"libm/src/math/generic/floor.rs"
|
|
],
|
|
"type": "f16"
|
|
},
|
|
"fma": {
|
|
"sources": [
|
|
"libm/src/math/arch/aarch64.rs",
|
|
"libm/src/math/arch/x86/fma.rs",
|
|
"libm/src/math/fma.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"fmaf": {
|
|
"sources": [
|
|
"libm/src/math/arch/aarch64.rs",
|
|
"libm/src/math/arch/x86/fma.rs",
|
|
"libm/src/math/fma.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"fmaf128": {
|
|
"sources": [
|
|
"libm/src/math/fma.rs"
|
|
],
|
|
"type": "f128"
|
|
},
|
|
"fmax": {
|
|
"sources": [
|
|
"libm/src/math/fmin_fmax.rs",
|
|
"libm/src/math/generic/fmax.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"fmaxf": {
|
|
"sources": [
|
|
"libm/src/math/fmin_fmax.rs",
|
|
"libm/src/math/generic/fmax.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"fmaxf128": {
|
|
"sources": [
|
|
"libm/src/math/fmin_fmax.rs",
|
|
"libm/src/math/generic/fmax.rs"
|
|
],
|
|
"type": "f128"
|
|
},
|
|
"fmaxf16": {
|
|
"sources": [
|
|
"libm/src/math/fmin_fmax.rs",
|
|
"libm/src/math/generic/fmax.rs"
|
|
],
|
|
"type": "f16"
|
|
},
|
|
"fmaximum": {
|
|
"sources": [
|
|
"libm/src/math/fminimum_fmaximum.rs",
|
|
"libm/src/math/generic/fmaximum.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"fmaximum_num": {
|
|
"sources": [
|
|
"libm/src/math/fminimum_fmaximum_num.rs",
|
|
"libm/src/math/generic/fmaximum_num.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"fmaximum_numf": {
|
|
"sources": [
|
|
"libm/src/math/fminimum_fmaximum_num.rs",
|
|
"libm/src/math/generic/fmaximum_num.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"fmaximum_numf128": {
|
|
"sources": [
|
|
"libm/src/math/fminimum_fmaximum_num.rs",
|
|
"libm/src/math/generic/fmaximum_num.rs"
|
|
],
|
|
"type": "f128"
|
|
},
|
|
"fmaximum_numf16": {
|
|
"sources": [
|
|
"libm/src/math/fminimum_fmaximum_num.rs",
|
|
"libm/src/math/generic/fmaximum_num.rs"
|
|
],
|
|
"type": "f16"
|
|
},
|
|
"fmaximumf": {
|
|
"sources": [
|
|
"libm/src/math/fminimum_fmaximum.rs",
|
|
"libm/src/math/generic/fmaximum.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"fmaximumf128": {
|
|
"sources": [
|
|
"libm/src/math/fminimum_fmaximum.rs",
|
|
"libm/src/math/generic/fmaximum.rs"
|
|
],
|
|
"type": "f128"
|
|
},
|
|
"fmaximumf16": {
|
|
"sources": [
|
|
"libm/src/math/fminimum_fmaximum.rs",
|
|
"libm/src/math/generic/fmaximum.rs"
|
|
],
|
|
"type": "f16"
|
|
},
|
|
"fmin": {
|
|
"sources": [
|
|
"libm/src/math/fmin_fmax.rs",
|
|
"libm/src/math/generic/fmin.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"fminf": {
|
|
"sources": [
|
|
"libm/src/math/fmin_fmax.rs",
|
|
"libm/src/math/generic/fmin.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"fminf128": {
|
|
"sources": [
|
|
"libm/src/math/fmin_fmax.rs",
|
|
"libm/src/math/generic/fmin.rs"
|
|
],
|
|
"type": "f128"
|
|
},
|
|
"fminf16": {
|
|
"sources": [
|
|
"libm/src/math/fmin_fmax.rs",
|
|
"libm/src/math/generic/fmin.rs"
|
|
],
|
|
"type": "f16"
|
|
},
|
|
"fminimum": {
|
|
"sources": [
|
|
"libm/src/math/fminimum_fmaximum.rs",
|
|
"libm/src/math/generic/fminimum.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"fminimum_num": {
|
|
"sources": [
|
|
"libm/src/math/fminimum_fmaximum_num.rs",
|
|
"libm/src/math/generic/fminimum_num.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"fminimum_numf": {
|
|
"sources": [
|
|
"libm/src/math/fminimum_fmaximum_num.rs",
|
|
"libm/src/math/generic/fminimum_num.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"fminimum_numf128": {
|
|
"sources": [
|
|
"libm/src/math/fminimum_fmaximum_num.rs",
|
|
"libm/src/math/generic/fminimum_num.rs"
|
|
],
|
|
"type": "f128"
|
|
},
|
|
"fminimum_numf16": {
|
|
"sources": [
|
|
"libm/src/math/fminimum_fmaximum_num.rs",
|
|
"libm/src/math/generic/fminimum_num.rs"
|
|
],
|
|
"type": "f16"
|
|
},
|
|
"fminimumf": {
|
|
"sources": [
|
|
"libm/src/math/fminimum_fmaximum.rs",
|
|
"libm/src/math/generic/fminimum.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"fminimumf128": {
|
|
"sources": [
|
|
"libm/src/math/fminimum_fmaximum.rs",
|
|
"libm/src/math/generic/fminimum.rs"
|
|
],
|
|
"type": "f128"
|
|
},
|
|
"fminimumf16": {
|
|
"sources": [
|
|
"libm/src/math/fminimum_fmaximum.rs",
|
|
"libm/src/math/generic/fminimum.rs"
|
|
],
|
|
"type": "f16"
|
|
},
|
|
"fmod": {
|
|
"sources": [
|
|
"libm/src/math/fmod.rs",
|
|
"libm/src/math/generic/fmod.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"fmodf": {
|
|
"sources": [
|
|
"libm/src/math/fmod.rs",
|
|
"libm/src/math/generic/fmod.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"fmodf128": {
|
|
"sources": [
|
|
"libm/src/math/fmod.rs",
|
|
"libm/src/math/generic/fmod.rs"
|
|
],
|
|
"type": "f128"
|
|
},
|
|
"fmodf16": {
|
|
"sources": [
|
|
"libm/src/math/fmod.rs",
|
|
"libm/src/math/generic/fmod.rs"
|
|
],
|
|
"type": "f16"
|
|
},
|
|
"frexp": {
|
|
"sources": [
|
|
"libm/src/math/frexp.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"frexpf": {
|
|
"sources": [
|
|
"libm/src/math/frexpf.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"hypot": {
|
|
"sources": [
|
|
"libm/src/math/hypot.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"hypotf": {
|
|
"sources": [
|
|
"libm/src/math/hypotf.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"ilogb": {
|
|
"sources": [
|
|
"libm/src/math/ilogb.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"ilogbf": {
|
|
"sources": [
|
|
"libm/src/math/ilogbf.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"j0": {
|
|
"sources": [
|
|
"libm/src/math/j0.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"j0f": {
|
|
"sources": [
|
|
"libm/src/math/j0f.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"j1": {
|
|
"sources": [
|
|
"libm/src/math/j1.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"j1f": {
|
|
"sources": [
|
|
"libm/src/math/j1f.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"jn": {
|
|
"sources": [
|
|
"libm/src/math/jn.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"jnf": {
|
|
"sources": [
|
|
"libm/src/math/jnf.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"ldexp": {
|
|
"sources": [
|
|
"libm/src/math/ldexp.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"ldexpf": {
|
|
"sources": [
|
|
"libm/src/math/ldexp.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"ldexpf128": {
|
|
"sources": [
|
|
"libm/src/math/ldexp.rs"
|
|
],
|
|
"type": "f128"
|
|
},
|
|
"ldexpf16": {
|
|
"sources": [
|
|
"libm/src/math/ldexp.rs"
|
|
],
|
|
"type": "f16"
|
|
},
|
|
"lgamma": {
|
|
"sources": [
|
|
"libm/src/math/lgamma.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"lgamma_r": {
|
|
"sources": [
|
|
"libm/src/math/lgamma_r.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"lgammaf": {
|
|
"sources": [
|
|
"libm/src/math/lgammaf.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"lgammaf_r": {
|
|
"sources": [
|
|
"libm/src/math/lgammaf_r.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"log": {
|
|
"sources": [
|
|
"libm/src/math/log.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"log10": {
|
|
"sources": [
|
|
"libm/src/math/log10.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"log10f": {
|
|
"sources": [
|
|
"libm/src/math/log10f.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"log1p": {
|
|
"sources": [
|
|
"libm/src/math/log1p.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"log1pf": {
|
|
"sources": [
|
|
"libm/src/math/log1pf.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"log2": {
|
|
"sources": [
|
|
"libm/src/math/log2.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"log2f": {
|
|
"sources": [
|
|
"libm/src/math/log2f.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"logf": {
|
|
"sources": [
|
|
"libm/src/math/logf.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"modf": {
|
|
"sources": [
|
|
"libm/src/math/modf.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"modff": {
|
|
"sources": [
|
|
"libm/src/math/modff.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"nextafter": {
|
|
"sources": [
|
|
"libm/src/math/nextafter.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"nextafterf": {
|
|
"sources": [
|
|
"libm/src/math/nextafterf.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"pow": {
|
|
"sources": [
|
|
"libm/src/math/pow.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"powf": {
|
|
"sources": [
|
|
"libm/src/math/powf.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"remainder": {
|
|
"sources": [
|
|
"libm/src/math/remainder.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"remainderf": {
|
|
"sources": [
|
|
"libm/src/math/remainderf.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"remquo": {
|
|
"sources": [
|
|
"libm/src/math/remquo.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"remquof": {
|
|
"sources": [
|
|
"libm/src/math/remquof.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"rint": {
|
|
"sources": [
|
|
"libm/src/math/arch/aarch64.rs",
|
|
"libm/src/math/arch/wasm32.rs",
|
|
"libm/src/math/rint.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"rintf": {
|
|
"sources": [
|
|
"libm/src/math/arch/aarch64.rs",
|
|
"libm/src/math/arch/wasm32.rs",
|
|
"libm/src/math/rint.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"rintf128": {
|
|
"sources": [
|
|
"libm/src/math/rint.rs"
|
|
],
|
|
"type": "f128"
|
|
},
|
|
"rintf16": {
|
|
"sources": [
|
|
"libm/src/math/arch/aarch64.rs",
|
|
"libm/src/math/rint.rs"
|
|
],
|
|
"type": "f16"
|
|
},
|
|
"round": {
|
|
"sources": [
|
|
"libm/src/math/generic/round.rs",
|
|
"libm/src/math/round.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"roundeven": {
|
|
"sources": [
|
|
"libm/src/math/roundeven.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"roundevenf": {
|
|
"sources": [
|
|
"libm/src/math/roundeven.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"roundevenf128": {
|
|
"sources": [
|
|
"libm/src/math/roundeven.rs"
|
|
],
|
|
"type": "f128"
|
|
},
|
|
"roundevenf16": {
|
|
"sources": [
|
|
"libm/src/math/roundeven.rs"
|
|
],
|
|
"type": "f16"
|
|
},
|
|
"roundf": {
|
|
"sources": [
|
|
"libm/src/math/generic/round.rs",
|
|
"libm/src/math/round.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"roundf128": {
|
|
"sources": [
|
|
"libm/src/math/generic/round.rs",
|
|
"libm/src/math/round.rs"
|
|
],
|
|
"type": "f128"
|
|
},
|
|
"roundf16": {
|
|
"sources": [
|
|
"libm/src/math/generic/round.rs",
|
|
"libm/src/math/round.rs"
|
|
],
|
|
"type": "f16"
|
|
},
|
|
"scalbn": {
|
|
"sources": [
|
|
"libm/src/math/generic/scalbn.rs",
|
|
"libm/src/math/scalbn.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"scalbnf": {
|
|
"sources": [
|
|
"libm/src/math/generic/scalbn.rs",
|
|
"libm/src/math/scalbn.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"scalbnf128": {
|
|
"sources": [
|
|
"libm/src/math/generic/scalbn.rs",
|
|
"libm/src/math/scalbn.rs"
|
|
],
|
|
"type": "f128"
|
|
},
|
|
"scalbnf16": {
|
|
"sources": [
|
|
"libm/src/math/generic/scalbn.rs",
|
|
"libm/src/math/scalbn.rs"
|
|
],
|
|
"type": "f16"
|
|
},
|
|
"sin": {
|
|
"sources": [
|
|
"libm/src/math/sin.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"sincos": {
|
|
"sources": [
|
|
"libm/src/math/sincos.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"sincosf": {
|
|
"sources": [
|
|
"libm/src/math/sincosf.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"sinf": {
|
|
"sources": [
|
|
"libm/src/math/sinf.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"sinh": {
|
|
"sources": [
|
|
"libm/src/math/sinh.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"sinhf": {
|
|
"sources": [
|
|
"libm/src/math/sinhf.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"sqrt": {
|
|
"sources": [
|
|
"libm/src/math/arch/aarch64.rs",
|
|
"libm/src/math/arch/wasm32.rs",
|
|
"libm/src/math/arch/x86.rs",
|
|
"libm/src/math/generic/sqrt.rs",
|
|
"libm/src/math/sqrt.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"sqrtf": {
|
|
"sources": [
|
|
"libm/src/math/arch/aarch64.rs",
|
|
"libm/src/math/arch/wasm32.rs",
|
|
"libm/src/math/arch/x86.rs",
|
|
"libm/src/math/generic/sqrt.rs",
|
|
"libm/src/math/sqrt.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"sqrtf128": {
|
|
"sources": [
|
|
"libm/src/math/generic/sqrt.rs",
|
|
"libm/src/math/sqrt.rs"
|
|
],
|
|
"type": "f128"
|
|
},
|
|
"sqrtf16": {
|
|
"sources": [
|
|
"libm/src/math/arch/aarch64.rs",
|
|
"libm/src/math/generic/sqrt.rs",
|
|
"libm/src/math/sqrt.rs"
|
|
],
|
|
"type": "f16"
|
|
},
|
|
"tan": {
|
|
"sources": [
|
|
"libm/src/math/tan.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"tanf": {
|
|
"sources": [
|
|
"libm/src/math/tanf.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"tanh": {
|
|
"sources": [
|
|
"libm/src/math/tanh.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"tanhf": {
|
|
"sources": [
|
|
"libm/src/math/tanhf.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"tgamma": {
|
|
"sources": [
|
|
"libm/src/math/tgamma.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"tgammaf": {
|
|
"sources": [
|
|
"libm/src/math/tgammaf.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"trunc": {
|
|
"sources": [
|
|
"libm/src/math/arch/wasm32.rs",
|
|
"libm/src/math/generic/trunc.rs",
|
|
"libm/src/math/trunc.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"truncf": {
|
|
"sources": [
|
|
"libm/src/math/arch/wasm32.rs",
|
|
"libm/src/math/generic/trunc.rs",
|
|
"libm/src/math/trunc.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"truncf128": {
|
|
"sources": [
|
|
"libm/src/math/generic/trunc.rs",
|
|
"libm/src/math/trunc.rs"
|
|
],
|
|
"type": "f128"
|
|
},
|
|
"truncf16": {
|
|
"sources": [
|
|
"libm/src/math/generic/trunc.rs",
|
|
"libm/src/math/trunc.rs"
|
|
],
|
|
"type": "f16"
|
|
},
|
|
"y0": {
|
|
"sources": [
|
|
"libm/src/math/j0.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"y0f": {
|
|
"sources": [
|
|
"libm/src/math/j0f.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"y1": {
|
|
"sources": [
|
|
"libm/src/math/j1.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"y1f": {
|
|
"sources": [
|
|
"libm/src/math/j1f.rs"
|
|
],
|
|
"type": "f32"
|
|
},
|
|
"yn": {
|
|
"sources": [
|
|
"libm/src/math/jn.rs"
|
|
],
|
|
"type": "f64"
|
|
},
|
|
"ynf": {
|
|
"sources": [
|
|
"libm/src/math/jnf.rs"
|
|
],
|
|
"type": "f32"
|
|
}
|
|
}
|