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 0299ca8 commit 66845d3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions testcrate/tests/float_pow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,11 @@ pow! {
pow! {
f128, 1e-36, __powikf2, not(feature = "no-sys-f128");
}

// FIXME(f16_f128): MSVC is unable to link the mul and div symbols required for this test.

#[no_mangle]
#[cfg(target_env = "msvc")]
pub extern "C" fn __divtf3(a: f128, b: f128) -> f128 {
compiler_builtins::float::div::__divtf3(a, b)
}

0 comments on commit 66845d3

Please sign in to comment.