factor/native/ratio.h

12 lines
177 B
C
Raw Normal View History

2004-08-04 22:43:58 -04:00
typedef struct {
CELL numerator;
CELL denominator;
} F_RATIO;
2004-08-04 22:43:58 -04:00
INLINE CELL tag_ratio(F_RATIO* ratio)
2004-08-04 22:43:58 -04:00
{
return RETAG(ratio,RATIO_TYPE);
}
2004-09-18 22:29:29 -04:00
void primitive_from_fraction(void);