ack/mach/proto/fp/zrf_ext.c

21 lines
277 B
C
Raw Normal View History

1988-04-07 10:57:49 +00:00
/*
ZERO and return EXTEND FORMAT FLOAT
*/
#include "FP_types.h"
zrf_ext(e)
EXTEND *e;
{
register short *ipt;
register short i;
register short zero = 0;
/* local CAST conversion */
ipt = (short *) e;
i = sizeof(EXTEND)/sizeof(short);
while (i--)
*ipt++ = zero;
}