File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -337,14 +337,3 @@ macro_rules! apfloat_fallback {
337337 $apfloat_op( $( $arg) ,+)
338338 } } ;
339339}
340-
341- // FIXME(f16_f128): MSVC is unable to link the mul and div symbols required for this test.
342- // `__multf3` is now available in nightly, but `__divtf3` is not yet. Provide a fallback until
343- // that happens.
344- #[ no_mangle]
345- #[ linkage = "weak" ]
346- #[ cfg( target_env = "msvc" ) ]
347- #[ cfg( all( feature = "mangled-names" , not( feature = "no-f16-f128" ) ) ) ]
348- pub extern "C" fn __divtf3 ( a : f128 , b : f128 ) -> f128 {
349- compiler_builtins:: float:: div:: __divtf3 ( a, b)
350- }
Original file line number Diff line number Diff line change @@ -68,3 +68,14 @@ pow! {
6868pow ! {
6969 f128, 1e-36 , __powikf2, not( feature = "no-sys-f128" ) ;
7070}
71+
72+ // FIXME(f16_f128): MSVC is unable to link the mul and div symbols required for this test.
73+ // `__multf3` is now available in nightly, but `__divtf3` is not yet. Provide a fallback until
74+ // that happens.
75+ #[ no_mangle]
76+ #[ linkage = "weak" ]
77+ #[ cfg( target_env = "msvc" ) ]
78+ #[ cfg( all( feature = "mangled-names" , not( feature = "no-f16-f128" ) ) ) ]
79+ pub extern "C" fn __divtf3 ( a : f128 , b : f128 ) -> f128 {
80+ compiler_builtins:: float:: div:: __divtf3 ( a, b)
81+ }
You can’t perform that action at this time.
0 commit comments