:us-foreign-policy: of language. Exactly the debatelord redditism you'd expect

"Look at this cool new tool we invented for understanding math, and grades are improved greatly :)"

"No fuck you that's the wrong way to do numbers! Won't anyone think of the times tables? :rage-cry:"

  • hexaflexagonbear [he/him]
    ·
    2 years ago

    Children should be taught to do arithmetic using bit manipilation tricks like a computer.

    • dat_math [they/them]
      ·
      edit-2
      2 years ago

      Timmy, you know you can't eat your pudding until you do the xor trick on one more pair of 32-bit words followed by a one's complement subtraction!

      • StewartCopelandsDad [he/him]
        ·
        edit-2
        2 years ago
        float Q_rsqrt( float number )
        {
        	long i;
        	float x2, y;
        	const float threehalfs = 1.5F;
        
        	x2 = number * 0.5F;
        	y  = number;
        	i  = * ( long * ) &y;                       // evil floating point bit level hacking
        	i  = 0x5f3759df - ( i >> 1 );               // what the fuck? 
        	y  = * ( float * ) &i;
        	y  = y * ( threehalfs - ( x2 * y * y ) );   // 1st iteration
        //	y  = y * ( threehalfs - ( x2 * y * y ) );   // 2nd iteration, this can be removed
        
        	return y;
        }
        

        you've already mastered long division I don't see why you're having so much trouble with this. if you did your homework every day you wouldn't have to study so hard for the test!