28 lines
455 B
C
28 lines
455 B
C
/*
|
|
(c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands.
|
|
See the copyright notice in the ACK home directory, in the file "Copyright".
|
|
*/
|
|
|
|
/* $Header$ */
|
|
|
|
/*
|
|
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;
|
|
}
|