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
Original bug ID: 1815 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
I know this function is deprecated, and it's documented to only accept the
%x, etc. format strings, but it currently returns bogus results if you pass
more than that for the format string. It should probably throw an
Invalid_argument exception instead:
Original bug ID: 1815
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
I know this function is deprecated, and it's documented to only accept the
%x, etc. format strings, but it currently returns bogus results if you pass
more than that for the format string. It should probably throw an
Invalid_argument exception instead:
Int64.format "__ph__float "0x%X"" (Int64.bits_of_float 1.2345);;
The result in the above demo is just totally bogus, although it appears
okay at first glance.
Chris
The text was updated successfully, but these errors were encountered: