Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!amdcad!ames!umd5!brl-adm!brl-smoke!gwyn From: gwyn@brl-smoke.ARPA (Doug Gwyn ) Newsgroups: comp.unix.wizards Subject: Re: casting to float without converting to float? Message-ID: <6990@brl-smoke.ARPA> Date: 8 Jan 88 06:26:59 GMT References: <11175@brl-adm.ARPA> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 9 In article <11175@brl-adm.ARPA> weiser.pa@Xerox.COM writes: >Sigh. I must not have made myself sufficiently clear. Before I get any more >responses to my converting-to-float request, please note that I need to convert >an EXPRESSION. The UNION examples don't help. There is no such thing as "converting an expression". Presumably you want to convert the integer result of evaluating some expression to the equivalent float. Union is just the ticket for this; in fact there doesn't seem to be any other way to do this.