Your Ad Here Your Ad Here
Results 1 to 3 of 3

Thread: IEEE-754 <-> Decimal in C

  1. #1
    Lord of the Monkeys
    Join Date
    Jul 2006
    Location
    The Valley of the Macs
    Posts
    23
    Does anyone know a place that has source code for something like this?

    It is a pain in the ass to write, and I couldn't get it to work.
    <? echo "The Blind Man Can See"; ?>

  2. Internet, Programming and Graphics   -   #2
    lynx's Avatar .
    Join Date
    Sep 2002
    Location
    Yorkshire, England
    Posts
    9,810
    http://babbage.cs.qc.edu/IEEE-754/32bit.html

    This page has javascript code which does what you need.

    If you view the page source you should be able to extract the relevant portions and conversion to C should be relatively simple.
    .
    Political correctness is based on the principle that it's possible to pick up a turd by the clean end.

  3. Internet, Programming and Graphics   -   #3
    Lord of the Monkeys
    Join Date
    Jul 2006
    Location
    The Valley of the Macs
    Posts
    23
    Oh yeah, I looked at the JS source, and wanted to kill myself. I was hoping someone had it done already in C. But thanks. =]
    <? echo "The Blind Man Can See"; ?>

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •