ack/mach/proto/fp/zrf_ext.c

28 lines
455 B
C
Raw Normal View History

1988-04-07 11:40:46 +00:00
/*
(c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands.
See the copyright notice in the ACK home directory, in the file "Copyright".
*/
/* $Header$ */
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;
}