MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / float_f64_arithmetic_uses_fpu

Function float_f64_arithmetic_uses_fpu

tests/integration/vm_execution.rs:2216–2233  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2214 assert!(
2215 matches!(outcome, RunOutcome::Halted(0)),
2216 "bitwise all-ones check, got {outcome:?}"
2217 );
2218}
2219
2220/// Array stride correctness: two separate heap i32 values sum to 30.
2221#[test]
2222fn ir_index_with_stride() {
2223 let (_, outcome, _) = run_hll(
2224 r#"
2225external free: (p: i32*) -> void
2226
2227main: () -> i32 {
2228 p: i32* = new(i32)
2229 q: i32* = new(i32)
2230 @p = 10
2231 @q = 20
2232 v: i32 = @p + @q
2233 free(p)
2234 free(q)
2235 if v == 30 {
2236 return 0

Callers

nothing calls this directly

Calls 1

run_hllFunction · 0.70

Tested by

no test coverage detected