/*
 * KCLL -  Ken and Chee's Limey Lisp  
 * All Rights to the code and any products created with this code is 
 * hereby granted. 
 *
 * I.E. You can do whatever the hell you want with this code. 
 * The only restriction is that this copyright notice not be modified.
 */

#ifndef _FIX_INC
#define _FIX_INC

#include "obj.h"

typedef struct llfix_s {
  LLIS_OBJECT;
  int value; 
  int numerator; 
  int denom;
} LLFix;

extern LLTag llfix_t; 

void llinit_fix();


void llinit_fix();
LLFix *llread_fix();
LLFix *llint_to_fix();

#define llfix_to_int(fix) (((LLFix*) fix)->value)

#endif
