What's the accepted way to ensure same integer behavior between 32-bit and 64-bit Julia?

Thank you very much! this seems indeed to work as expected.

Ah yes, that’s a good idea. I don’t see an obstacle to making literals_swapper public, but I just need to think a bit about it, and also how to call it (maybe the current name is fine though).