You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Oh so OCaml is indeed doing something very specific regarding to bit shifting.
This explains why the compiled version of 1 << 33 (using compiler optimisation) differs from 1 << 33 at runtime.
I guess we should add a "land 31" to all bit shifts (both optimizer and eval) to match other targets.
The following tests might give different results depending on platforms:
https://c9x.me/x86/html/file_module_x86_id_285.html
I think we should make it platform agnostic, but I'm curious to know if the issue is HL specific or if some other platforms are affected.
The text was updated successfully, but these errors were encountered: