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*

5
  • \$\begingroup\$ Save a byte with m* x*2 vUx. This makes me wonder if m* x*2 can be reduced further... \$\endgroup\$ Commented Dec 21, 2017 at 18:05
  • \$\begingroup\$ Thanks, @ETHproductions; that's another new trick I've learned today. \$\endgroup\$ Commented Dec 21, 2017 at 18:11
  • \$\begingroup\$ I've got it, just use x* and check if it's divisible by Ux*½ :) \$\endgroup\$ Commented Dec 21, 2017 at 18:11
  • \$\begingroup\$ Yes, I don't think that trick is documented anywhere... But whenever you use a binary operator as an auto-function with no second argument, it uses the index by default (like if you did XY{X*Y}) \$\endgroup\$ Commented Dec 21, 2017 at 18:12
  • \$\begingroup\$ Oh, now, that's just ingenious, @ETHproductions. :) \$\endgroup\$ Commented Dec 21, 2017 at 18:17