We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using the latest 0.6.0:
# #require "stdint";; # open Stdint;; # let v = Uint24.of_int 15134052;; val v : Stdint.Uint24.t = 15134052 # let v' = Uint24.to_uint32 v;; val v' : Stdint.uint32 = <abstr> # Uint32.to_int v';; - : int = 30268105 # Uint32.(to_int (shift_right v' 1));; - : int = 15134052
The text was updated successfully, but these errors were encountered:
Fix uint24 conversions to other int types
2066693
before: # Uint32.to_int (Uint24.(to_uint32 (of_int 42)));; - : int = 85 after: # Uint32.to_int (Uint24.(to_uint32 (of_int 42)));; - : int = 42 Closes andrenth#38
Successfully merging a pull request may close this issue.
Using the latest 0.6.0:
The text was updated successfully, but these errors were encountered: