float

This is a discussion on float within the C Programming forums, part of the General Programming Boards category; How the floating value is stored.? Integer value is stored by binary formate. in 4bit Then how the floating value ...

  1. #1
    Registered User
    Join Date
    Jul 2009
    Posts
    5

    Lightbulb float

    How the floating value is stored.?
    Integer value is stored by binary formate. in 4bit Then how the floating value is stored in 8 bit. How its differentiate the fraction and exponent.

    Example: int a=3 -> 0011
    float b=2.5 -> 0010.0101

    the point where it store.

  2. #2
    Registered User
    Join Date
    Aug 2006
    Posts
    99

  3. #3

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 2
    Last Post: 05-13-2009, 04:25 PM
  2. Replies: 14
    Last Post: 06-28-2006, 02:58 AM
  3. Could somebody please help me with this C program
    By brett73 in forum C Programming
    Replies: 6
    Last Post: 11-25-2004, 02:19 AM
  4. Half-life SDK, where are the constants?
    By bennyandthejets in forum Game Programming
    Replies: 29
    Last Post: 08-25-2003, 12:58 PM
  5. How do you search & sort an array?
    By sketchit in forum C Programming
    Replies: 30
    Last Post: 11-03-2001, 05:26 PM

Tags for this Thread


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