diff options
| author | Antoni Boucher <bouanto@zoho.com> | 2025-06-02 12:44:42 -0400 |
|---|---|---|
| committer | Antoni Boucher <bouanto@zoho.com> | 2025-06-02 12:44:42 -0400 |
| commit | ba53d9749798a32a9ce3a2db4123942ed81252a7 (patch) | |
| tree | 28385f1f94b5371b2e88440dc59998d4411e33c8 | |
| parent | ac69f1eecb698f14ed2df060cca99af8ba8f658d (diff) | |
| download | rust-ba53d9749798a32a9ce3a2db4123942ed81252a7.tar.gz rust-ba53d9749798a32a9ce3a2db4123942ed81252a7.zip | |
Fix cast from u128 to f128
| -rw-r--r-- | src/int.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/int.rs b/src/int.rs index 9b5b0fde6e2..fed96e5eb8c 100644 --- a/src/int.rs +++ b/src/int.rs @@ -915,7 +915,7 @@ impl<'gcc, 'tcx> CodegenCx<'gcc, 'tcx> { let name_suffix = match self.type_kind(dest_typ) { TypeKind::Float => "tisf", TypeKind::Double => "tidf", - TypeKind::FP128 => "tixf", + TypeKind::FP128 => "titf", kind => panic!("cannot cast a non-native integer to type {:?}", kind), }; let sign = if signed { "" } else { "un" }; |
