Skip to content

Instantly share code, notes, and snippets.

View mysteriouspants's full-sized avatar
:shipit:
Help! I'm trapped in a fixed-width str

Christopher R. Miller mysteriouspants

:shipit:
Help! I'm trapped in a fixed-width str
View GitHub Profile
@mysteriouspants
mysteriouspants / EVE Humor.txt
Last active April 2, 2019 13:03
EVE Online Humor
________ ________ ____ _ _
| ____\ \ / / ____| / __ \ | (_)
| |__ \ \ / /| |__ ______| | | |_ __ | |_ _ __ ___
| __| \ \/ / | __|______| | | | '_ \| | | '_ \ / _ \
| |____ \ / | |____ | |__| | | | | | | | | | __/
|______| \/ |______| \____/|_| |_|_|_|_| |_|\___|
_ _
| | | |
@mysteriouspants
mysteriouspants / Q_rsqrt.c
Created August 4, 2010 20:45
Quake 3 finvsqrt plus corresponding assembler (x86)
#include <stdio.h>
#include <math.h>
/*
** float q_rsqrt( float number )
*/
float Q_rsqrt( float number ) {
long i;
float x2, y;
const float threehalfs = 1.5F;