Xref: utzoo comp.sources.wanted:6958 comp.unix.wizards:15386 comp.sys.sgi:908 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!husc6!cmcl2!polyof!john From: john@polyof.UUCP ( John Buck ) Newsgroups: comp.sources.wanted,comp.unix.wizards,comp.sys.sgi Subject: Re: Float to sign/exp/mantissa Summary: rtfm Message-ID: <458@polyof.UUCP> Date: 5 Apr 89 13:36:35 GMT References: <1026@cs-spool.calgary.UUCP> Organization: Polytechnic University, Farmingdale NY Lines: 14 In article <1026@cs-spool.calgary.UUCP>, paquette@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 > already been done... Most Unix manuals have the frexp(3C) and ldexp(3c) functions which do what you want. [man 3 frexp]. If your system does not have them under frexp/ldexp, they MAY be called something else. Check your permuted index. John Buck john@polyof.poly.edu trixie!polyof!john