#integer cast truncated bits
1 messages · Page 1 of 1 (latest)
const seed: i32 = @bitCast(@as(i32, @intCast(...)));
this is saying "intcast to i32, then bitcast it to i32"
this should fix it, the issue is a typo right after @as, you put i32 instead of u32