home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Fish 1
/
GoldFishApril1994_CD1.img
/
d1xx
/
d172
/
spiff
/
floatrep.c
< prev
next >
Wrap
C/C++ Source or Header
|
1988-11-22
|
758b
|
33 lines
/* Copyright (c) 1988 Bellcore
** All Rights Reserved
** Permission is granted to copy or use this program, EXCEPT that it
** may not be sold for profit, the copyright notice must be reproduced
** on copies, and credit should be given to Bellcore where it is due.
** BELLCORE MAKES NO WARRANTY AND ACCEPTS NO LIABILITY FOR THIS PROGRAM.
*/
#ifndef lint
static char rcsid[]= "$Header: floatrep.c,v 1.1 88/09/15 11:34:00 daniel Rel $";
#endif
#include "misc.h"
#include "floatrep.h"
R_float
R_makefloat()
{
R_float retval;
retval = Z_ALLOC(1,struct R_flstr);
retval->mantissa = Z_ALLOC(R_MANMAX,char);
return(retval);
}
R_getexp(ptr)
R_float ptr;
{
return(ptr->exponent);
}