We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
f128
1 parent 8df3036 commit a5349ebCopy full SHA for a5349eb
testcrate/src/lib.rs
@@ -342,8 +342,9 @@ macro_rules! apfloat_fallback {
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")]
-#[cfg(not(feature = "no-f16-f128"))]
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
}
0 commit comments