how to convert a 4 byte float to hexadecimal number

This is a discussion on how to convert a 4 byte float to hexadecimal number within the C Programming forums, part of the General Programming Boards category; can anyone tell me how to convert a float into hexadecimal number...

  1. #1
    Registered User
    Join Date
    Jan 2008
    Posts
    1

    how to convert a 4 byte float to hexadecimal number

    can anyone tell me how to convert a float into hexadecimal number

  2. #2
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,185
    What do you mean by hexadecimal number? Do you mean the bit pattern as it is represented internally, or the value of the float printed in base 16?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Promblem with code
    By watchdogger in forum C Programming
    Replies: 18
    Last Post: 01-31-2009, 05:36 PM
  2. xor linked list
    By adramalech in forum C Programming
    Replies: 23
    Last Post: 10-14-2008, 10:13 AM
  3. Display list not displaying?
    By psychopath in forum Game Programming
    Replies: 5
    Last Post: 09-19-2004, 06:47 PM
  4. Array of boolean
    By DMaxJ in forum C++ Programming
    Replies: 11
    Last Post: 10-25-2001, 11:45 PM
  5. Newton-Raphson number squaring method/pointers
    By inakappeh in forum C Programming
    Replies: 2
    Last Post: 08-29-2001, 11:04 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21