Float to sign/exp/mantissa
Robert Myers
rmyers at net1.ucsd.edu
Wed Apr 5 08:28:35 AEST 1989
In article <1026 at cs-spool.calgary.UUCP> paquette at cpsc.ucalgary.ca (Trevor Paquette) writes:
> I am sure that someone out there has a routine that given
>a floating point number, what is the sign, exponent and mantissa
>of the number.. I'd rather not re-invent the wheel if this has
>
> aTdHvAaNnKcSe
> Trev
The routines frexp(3) and modf(3) are already part of libm and
may be what you are looking for.
Raul Rathmann, raul%sdnp1 at ucsd.edu
More information about the Comp.unix.wizards
mailing list