New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #17871 (inconsistency with native_compute and primitive floats) #17872
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is worth adding a testcase and an entry in dev/doc/critical-bugs
.
Fix was quick! So, iiuc, it is that Conversely, can we say that OCaml runtime has no proper notion of untyped array (as soon as floats are around)? |
Yes and this makes perfect sense since, as Pierre Marie likes to recall, "Obj.magic is not part of OCaml". |
Yes and no. This is not specific to |
@maximedenes @gares I'm putting the 8.18+rc1 milestone as this is an inconsistency fix but feel free to do whateve you want with that milestone. |
@coqbot run full ci |
The Array.of_list in Nativevalues.args_of_accu could result in an OCaml double array when some argument was a primitive float, making all other argument sometimes wrongfully appear as float themselves.
@coqbot run full ci |
@silene CI green |
@coqbot merge now |
…te and primitive floats)
The Array.of_list in Nativevalues.args_of_accu could result in an OCaml double array when some argument was a primitive float, making all other argument sometimes wrongfully appear as float themselves.
Fixes / closes #17871
Documented any new / changed user messages.Updated documented syntax by runningmake doc_gram_rsts
.Opened overlay pull requests.