Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 1
    \$\begingroup\$ Is the 0x required in the input? \$\endgroup\$ Commented Nov 1, 2019 at 0:29
  • \$\begingroup\$ @ValueInk No, it's not required. \$\endgroup\$ Commented Nov 1, 2019 at 0:39
  • \$\begingroup\$ In case anyone wants to make us of it, the expression (~n/8&2**32/15)*7^n reverses the hex digits 0-7, putting the digits of a valid input n into "normal" decreasing order in hex. \$\endgroup\$ Commented Nov 1, 2019 at 6:33