Skip to content

Commit

Permalink
fixup! Add support for f128 integer exponentiation
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross35 committed Sep 26, 2024
1 parent 8df3036 commit a5349eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion testcrate/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -342,8 +342,9 @@ macro_rules! apfloat_fallback {
// `__multf3` is now available in nightly, but `__divtf3` is not yet. Provide a fallback until
// that happens.
#[no_mangle]
#[linkage = "weak"]
#[cfg(target_env = "msvc")]
#[cfg(not(feature = "no-f16-f128"))]
#[cfg(all(feature = "mangled-names", not(feature = "no-f16-f128")))]
pub extern "C" fn __divtf3(a: f128, b: f128) -> f128 {
compiler_builtins::float::div::__divtf3(a, b)
}

0 comments on commit a5349eb

Please sign in to comment.