View Single Post
  #9  
Old 08-02-2022, 03:19 PM
Baldo_the_Don is offline Baldo_the_Don
Baldo_the_Don's Avatar
Registered User

Join Date: Jul 2012
Posts: 531

So in C math, 9 / 5 doesn't mean "Nine divided by 5 (1.8)," rather "How many whole, unbroken fives fit in nine? (1)." And 9 % 5 asks for what's left after all the fives are gone and will always be less than five.

I think I've got it.

And just now playing around with my calculator, I worked out that if you take the MEd heading and subtract 450, you get a negative of the .cin/.end heading you need, and if the answer is more than -360, add 360.

'Cause 130 - 90 = 40, and... oh wait. See 40 goes into 360 9 times with 0 left over, but we're looking for how many times 360 goes into 40, and I can't picture that in my head. Anyway, I was using the C math wrong and got a lot of zero, and I know we're looking for 320...

But 130 - 90 = 40 + -360 = -320. But since 130 - 450 is the same as 130 - 90 + -360, that'll do.

So, like, 13 - 450 = -437 + 360 = -77. The chart says 13 = 77.

Heading minus 450, maybe plus 360, then invert. It's not the right way, but it's workable, and maybe less annoying than looking it up in a chart.

Wow! Look at us all braining around today!
__________________
////////////////////<- SIGNATURE STARTS ->\\\\\\\\\\\\\\\\\\\\\
The NSO Deadline Mod at NovaHQ.net:
/////////////////////<- SIGNATURE ENDS ->\\\\\\\\\\\\\\\\\\\\\\

Last edited by Baldo_the_Don; 08-02-2022 at 03:58 PM.
Reply With Quote