Not to be confused with Is my OS 32-bit or 64-bit.
This one is very simple, tell me whether or not my CPU supports 64-bit instructions. If my CPU supports 32-bit instructions, print '32', if my CPU supports 64 bit instructions, print '64', if my processor naitively supports other lengths of instructions, print 'other'.
Your program must run on both 32 and 64-bit instruction modes, and if interpreted run properly on both 32 and 64-bit interpreters.
Test cases:
Arch: x86, i386, i686, RiscV32
Output: '32'
Arch: x86-64, x64, x86_64, RiscV64
Output: '3264'
Arch: R700
Output '32other'
The usual code-golf rules apply.
Best of luck!
decision-problem
, since there are more than 2 possible answers. (Although both the title and the 1st sentence of the description suggest that it's a "yes/no" kind of problem.) \$\endgroup\$other
, maybe you should consider removing that requirement. \$\endgroup\$