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 1
1
mod copysign;
2
2
mod fabs;
3
+ mod fma;
3
4
4
5
pub use copysign:: copysign;
5
6
pub use fabs:: fabs;
7
+ pub use fma:: fma;
Original file line number Diff line number Diff line change @@ -336,19 +336,23 @@ cfg_if! {
336
336
if #[ cfg( f16_enabled) ] {
337
337
mod copysignf16;
338
338
mod fabsf16;
339
+ mod fmaf16;
339
340
340
341
pub use self :: copysignf16:: copysignf16;
341
342
pub use self :: fabsf16:: fabsf16;
343
+ pub use self :: fmaf16:: fmaf16;
342
344
}
343
345
}
344
346
345
347
cfg_if ! {
346
348
if #[ cfg( f128_enabled) ] {
347
349
mod copysignf128;
348
350
mod fabsf128;
351
+ mod fmaf128;
349
352
350
353
pub use self :: copysignf128:: copysignf128;
351
354
pub use self :: fabsf128:: fabsf128;
355
+ pub use self :: fmaf128:: fmaf128;
352
356
}
353
357
}
354
358
You can’t perform that action at this time.
0 commit comments