All pastes #247074 Raw Edit

Tyler

public c v1 · immutable
#247074 ·published 2006-11-12 23:59 UTC
rendered paste body
// PI is a macro (called in tigcclib) of a value 3.141592653589793// Pibs to Radians/Degrees#define PIBS2DEG(pibs) (pibs*45/64)#define PIBS2RAD(pibs) (pibs*PI/256)// Radians/Degrees to Pibs#define DEG2PIBS(deg) (deg*64/45)#define RAD2PIBS(rad) (rad*256/PI)