Skip to content
View codawatt's full-sized avatar

Block or report codawatt

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
codawatt/README.md

Software developer focused on systems, game development, and applied machine learning.


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 #&$*?
	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;
}

Tech Stack

Languages

C++ C# Python

Tools & Engines

Unity Godot Linux


About

  • Currently working on:

    • Card game (Godot)
    • FPS prototype (Godot)
    • Puzzle platformer (Godot)
    • Library management system
    • Conversation classifier
  • Currently learning:

    • Multiplayer architecture

Pinned Loading

  1. pdfmerge pdfmerge Public

    Simple PDF files merger

    Python

  2. fiesc fiesc Public

    Laboratoare FIESC

    Java

  3. pong-wars pong-wars Public

    JavaScript

  4. underhand underhand Public

    A scoundrel card game clone

    GDScript

  5. library-cpp library-cpp Public

    C++