Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Computer Information > Conversion into IEEE-754 (floating point)

Reply
Thread Tools

Conversion into IEEE-754 (floating point)

 
 
Christian Christmann
Guest
Posts: n/a
 
      03-12-2006
Hi,

I need some help with the conversion of decimal numbers into
the IEEE-754 format (floating point).

There seem to be two possible formats. The one I need is defined
as follows:

Sm, C, M

with Sm = bit-vector representation of the mantissa sign
C = characteristic
M = bit-vector representation of abs(mantissa)

I could not find any information in the Internet how to practically
convert decimals into floating point numbers using C.

Could you help me out and perform a conversion, let's say for the
decimal 0.0745.

Thank you.

Chris
 
Reply With Quote
 
 
 
 
nos1eep
Guest
Posts: n/a
 
      03-12-2006
It is further alleged that on or about Sun, 12 Mar 2006 13:59:14
+0100, in alt.computer, the queezy keyboard of Christian Christmann
<> spewed the following:

|Hi,
|
|I need some help with the conversion of decimal numbers into
|the IEEE-754 format (floating point).
|
|There seem to be two possible formats. The one I need is defined
|as follows:
|
| Sm, C, M
|
|with Sm = bit-vector representation of the mantissa sign
| C = characteristic
| M = bit-vector representation of abs(mantissa)
|
|I could not find any information in the Internet how to practically
|convert decimals into floating point numbers using C.
|
|Could you help me out and perform a conversion, let's say for the
|decimal 0.0745.

Here is a java applet that converts IEEE-754:
http://www.h-schmidt.net/FloatApplet/IEEE754.html

And here is the search string:
http://www.google.com/search?hl=en&l...on&btnG=Search
--

-nos1eep
 
Reply With Quote
 
 
 
 
Kewl
Guest
Posts: n/a
 
      03-12-2006

Christian Christmann wrote:
> Hi,
>
> I need some help with the conversion of decimal numbers into
> the IEEE-754 format (floating point).
>
> There seem to be two possible formats. The one I need is defined
> as follows:
>
> Sm, C, M
>
> with Sm = bit-vector representation of the mantissa sign
> C = characteristic
> M = bit-vector representation of abs(mantissa)
>
> I could not find any information in the Internet how to practically
> convert decimals into floating point numbers using C.
>
> Could you help me out and perform a conversion, let's say for the
> decimal 0.0745.
>
> Thank you.
>
> Chris



are you a stripper i would love to see you as a stripper

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PSD to XHTML Conversion Services and PSD to HTML CSS ConversionServices, PSD to Joomla, Drupal, Wordpress Conversion xhtml champs Python 0 06-21-2011 11:59 AM
PSD to XHTML Conversion Services and PSD to HTML CSS ConversionServices, PSD to Joomla, Drupal, Wordpress Conversion PSD to XHTML Conversion Services and PSD to HTML CSS Conversion Services, PSD to Joomla, Drupal, Wor VHDL 0 04-25-2011 06:43 AM
conversion operator and conversion ctor subramanian100in@yahoo.com, India C++ 2 09-15-2009 12:46 PM
doubt regarding Conversion of date into timestamp praba kar Python 1 04-08-2005 09:15 AM
conversion of text into image dinesh Java 1 12-16-2004 12:11 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57