-
Notifications
You must be signed in to change notification settings - Fork 123
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
Literal type inference oddity with hex and octal #30
Comments
One can write an 11 bit literal in hex using backtick: (`0x3):[11] Sorry! Talk to John :-) On May 31, 2014, at 1:49 PM, Levent Erkok [email protected] wrote:
|
ah, the magic backtick.. seriously though; a literal is a literal is a literal; the base you write it in shouldn't really matter, methinks.. |
Though I agree with you, some folks see it some other way. I stopped the On Sat, May 31, 2014 at 2:38 PM, Levent Erkok [email protected]
|
Also, because you’re going to undoubtedly run: :sat (a, b) -> if ((a:[32]) != b) then (fnv1a a) == (fnv1a b) else False Know that the AIGs generated cause an error in an old bit of ABC, namely the ‘cec’ command. I spoke w/ Alan and he says it is a known bug, and the reason he added ‘dcec’, but he has not removed the broken ‘cec’ command. Of course, one can also use ‘&cec’. On May 31, 2014, at 1:49 PM, Levent Erkok [email protected] wrote:
|
We'll park this for the moment, since it involves some fundamental design aspects that have work-arounds (that are not viewed as work-arounds by some). Let's make sure this is documented well in the book. |
See #52. |
Cryptol2 seems to treat hex-literals weirdly when it comes to type checking. To wit:
This is truly bizarre. For instance, there appears to be absolutely no way of writing a
11
bit literal in hex:A similar experiment with octal (
0o
) shows it has the same problem.The text was updated successfully, but these errors were encountered: