Enable __powitf2 on MSVC

This commit is contained in:
beetrees 2025-05-21 18:11:11 +01:00 committed by Trevor Gross
parent d655ff0806
commit 11c1522955
2 changed files with 0 additions and 4 deletions

View file

@ -58,8 +58,6 @@ pow! {
}
#[cfg(f128_enabled)]
// FIXME(f16_f128): MSVC cannot build these until `__divtf3` is available in nightly.
#[cfg(not(target_env = "msvc"))]
#[cfg(not(any(target_arch = "powerpc", target_arch = "powerpc64")))]
pow! {
f128, 1e-36, __powitf2, not(feature = "no-sys-f128");

View file

@ -32,8 +32,6 @@ intrinsics! {
#[ppc_alias = __powikf2]
#[cfg(f128_enabled)]
// FIXME(f16_f128): MSVC cannot build these until `__divtf3` is available in nightly.
#[cfg(not(target_env = "msvc"))]
pub extern "C" fn __powitf2(a: f128, b: i32) -> f128 {
pow(a, b)
}