From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102b75,7b37ae94a49a9eec X-Google-Attributes: gid102b75,public X-Google-Thread: 111c93,b79a29863eb727e7 X-Google-Attributes: gid111c93,public From: brianh@bit3.com Subject: Re: gcc vs Dec Unix c Date: 1998/01/14 Message-ID: #1/1 X-Deja-AN: 315886995 References: <884291935.1575288842@dejanews.com> <884563899.2019688456@dejanews.com> <69hce6$8je@sjx-ixn6.ix.netcom.com> Organization: Bit 3 Computer Corp Newsgroups: comp.os.linux.alpha,comp.arch In article <69hce6$8je@sjx-ixn6.ix.netcom.com>, James Van Buskirk wrote: > >FCOS instruction is k*2**n, where k & n are integers and >|k| < 2**53. Stupid question: can't all IEEE floating point numbers be treated as being in this form? Or, actually, with a little modification- if the floating point number is m * 2**e, where 1 <= m < 2, and e is a small integer, then couldn't you set k = m * 2**p and n = e-p, where p is the precision of the floating point number (53 in the case of IEEE doubles)? Or am I missing something obvious? I don't speak for Bit 3. Brian