diff options
| author | Trevor Gross <tmgross@umich.edu> | 2025-04-29 20:52:54 +0000 |
|---|---|---|
| committer | Trevor Gross <t.gross35@gmail.com> | 2025-04-29 19:09:50 -0400 |
| commit | caf337d46742aca1705c3254e8d45d7238a8435c (patch) | |
| tree | 3b70b0470898c6c7cda46c301d60e20f15c3d210 /library/compiler-builtins/libm/src/math/generic/mod.rs | |
| parent | 6d83a3226f1401d777da0a91019caf2c3191b685 (diff) | |
| download | rust-caf337d46742aca1705c3254e8d45d7238a8435c.tar.gz rust-caf337d46742aca1705c3254e8d45d7238a8435c.zip | |
Refactor the fma modules
Move implementations to `generic/` like the other functions. This also allows us to combine the `fma` and `fma_wide` modules.
Diffstat (limited to 'library/compiler-builtins/libm/src/math/generic/mod.rs')
| -rw-r--r-- | library/compiler-builtins/libm/src/math/generic/mod.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/library/compiler-builtins/libm/src/math/generic/mod.rs b/library/compiler-builtins/libm/src/math/generic/mod.rs index 35846351a6e..9d497a03f54 100644 --- a/library/compiler-builtins/libm/src/math/generic/mod.rs +++ b/library/compiler-builtins/libm/src/math/generic/mod.rs @@ -6,6 +6,8 @@ mod copysign; mod fabs; mod fdim; mod floor; +mod fma; +mod fma_wide; mod fmax; mod fmaximum; mod fmaximum_num; @@ -24,6 +26,8 @@ pub use copysign::copysign; pub use fabs::fabs; pub use fdim::fdim; pub use floor::floor; +pub use fma::fma_round; +pub use fma_wide::fma_wide_round; pub use fmax::fmax; pub use fmaximum::fmaximum; pub use fmaximum_num::fmaximum_num; |
