gbravo

Hello, world!

Sphinx of black quartz, judge my vow.

The first C program

Found here, as written in The C Programming Language by Brian Kernighan and Dennis Ritchie.

More

Fast inverse square root, Quake III Arena
float Q_rsqrt( float number )
{
	long i;
	float x2, y;
	const float threehalfs = 1.5F;

	x2 = number * 0.5F;
	y  = number;
	i  = * ( long * ) &y;
	i  = 0x5f3759df - ( i >> 1 );
	y  = * ( float * ) &i;
	y  = y * ( threehalfs - ( x2 * y * y ) );

	return y;
}