LANGUAGE · VERIFIED
Numeric Types
inti64andi64literalsf64and decimal literals- Arithmetic and comparisons
- Numeric promotion
- Explicit
ascasts - Narrowing diagnostics
let a: i64 = 10i64;
let b: f64 = 10.5;
let c = 10 as f64;Tested promotion includes int + i64 → i64, int + f64 → f64, and i64 + f64 → f64.
TRACEABILITY
Related Evidence
Open a published source test or inspect the evidence index for source and report summaries. A source file demonstrates a test scenario; it does not imply complete coverage of the related behavior.
