/*
 * $Header: /smsa/bsd:include/sys/scalint.h:bsd  1.4  $
 * $Source: /smsa/bsd:include/sys/scalint.h: $
 *
 * Copyright (c) 1988 Acorn Computers Ltd., Cambridge, England
 *
 * $Desc$
 * $Log:	scalint.h,v $
 * Revision 1.4  89/04/03  10:16:21  mark
 * Corrected name: mult_fix() -> fix_mult().
 * 
 * Revision 1.3  88/06/17  20:20:49  beta
 * Acorn Unix initial beta version
 * 
 */
/*
 * Scaled integer support
 */

typedef int fix;

#define	i_to_fix(i)	((i)*FSCALE)
#define	d_to_fix(d)	((int)((d)*(double)FSCALE))

fix fix_mult();

/* EOF scalint.h */

