This repository was archived by the owner on Apr 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +20
-0
lines changed Expand file tree Collapse file tree 5 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 1+ #[ cfg_attr( all( test, assert_no_panic) , no_panic:: no_panic) ]
2+ pub fn fmaf128 ( x : f128 , y : f128 , z : f128 ) -> f128 {
3+ super :: generic:: fma ( x, y, z)
4+ }
Original file line number Diff line number Diff line change 1+ #[ cfg_attr( all( test, assert_no_panic) , no_panic:: no_panic) ]
2+ pub fn fmaf16 ( x : f16 , y : f16 , z : f16 ) -> f16 {
3+ super :: generic:: fma ( x, y, z)
4+ }
Original file line number Diff line number Diff line change 1+ use super :: super :: Float ;
2+
3+ /// Fused multiply add.
4+ pub fn fma < F : Float > ( _x : F , _y : F , _z : F ) -> F {
5+ todo ! ( )
6+ }
Original file line number Diff line number Diff line change 11mod copysign;
22mod fabs;
3+ mod fma;
34
45pub use copysign:: copysign;
56pub use fabs:: fabs;
7+ pub use fma:: fma;
Original file line number Diff line number Diff line change @@ -336,19 +336,23 @@ cfg_if! {
336336 if #[ cfg( f16_enabled) ] {
337337 mod copysignf16;
338338 mod fabsf16;
339+ mod fmaf16;
339340
340341 pub use self :: copysignf16:: copysignf16;
341342 pub use self :: fabsf16:: fabsf16;
343+ pub use self :: fmaf16:: fmaf16;
342344 }
343345}
344346
345347cfg_if ! {
346348 if #[ cfg( f128_enabled) ] {
347349 mod copysignf128;
348350 mod fabsf128;
351+ mod fmaf128;
349352
350353 pub use self :: copysignf128:: copysignf128;
351354 pub use self :: fabsf128:: fabsf128;
355+ pub use self :: fmaf128:: fmaf128;
352356 }
353357}
354358
You can’t perform that action at this time.
0 commit comments