 
 
 
 
 
 
Re: IEEE 754 Standard Help
- To: mathgroup at smc.vnet.net
- Subject: [mg39606] Re: IEEE 754 Standard Help
- From: Paul Abbott <paul at physics.uwa.edu.au>
- Date: Wed, 26 Feb 2003 02:41:21 -0500 (EST)
- Organization: The University of Western Australia
- References: <b3a647$1go$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
In article <b3a647$1go$1 at smc.vnet.net>, "J Hall" <jd.hall at attbi.com> 
wrote:
> What is the decimal equivalent of the IEEE Standard 754 binary
> floating-point number
> 0 1000 0100 1001 0000 0000 0000 0000 000
  FromBinary[s_String]:=   
    FromDigits[ToExpression /@ DeleteCases[Characters[s], " "], 2]
  FromBinary["0 1000 0100 1001 0000 0000 0000 0000 000"]
  
  1112014848
Cheers,
Paul
-- 
Paul Abbott                                   Phone: +61 8 9380 2734
School of Physics, M013                         Fax: +61 8 9380 1014
The University of Western Australia      (CRICOS Provider No 00126G)         
35 Stirling Highway
Crawley WA 6009                      mailto:paul at physics.uwa.edu.au 
AUSTRALIA                            http://physics.uwa.edu.au/~paul

