1 2 3 4 5 6 7 8 9 10
#ifndef __FIXED_H__ #define __FIXED_H__ #define SCALE 20 #define ONE ((fixed_t)(1<<SCALE)) typedef long long int fixed_t; #endif