Skip to content
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

Test RPerl/Test/Operator05BitwiseNegation/program_01_good.pl assumes 64-bit ints #48

Open
run4flat opened this issue May 18, 2016 · 1 comment

Comments

@run4flat
Copy link

When running RPerl/Test/Operator05BitwiseNegation/program_01_good.pl, the output on my machine is:

have $foo = 0
have $bar = 1
have $bat = 4294967295
have $baz = 4294967294
have $foo = 4294967290
have $bar = 4294967289
have $bat = 5
have $baz = 4294967294
have $bax = 4294967290

This is, of course, different from the expected result in the script file. Does RPerl use data types with unspecified widths? It seems like a type of uint_64, rather than uint (or whatever it uses) would solve this problem.

@run4flat
Copy link
Author

Perhaps it is useful to mention that on my machine, this prints a blank line:
perl -MConfig -E'say $Config{use64bitint}'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant