Floating point question
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Floating point question

  1. #1
    Join Date
    Dec 2011
    Posts
    2

    Floating point question

    Hi

    Dont know if this is the appropriate section..

    What is the IEEE-754 binary representation for a 32-bit floatingpoint value and explain how the value is interpreted.

    What is the valid range of negative and positive values in 2n x 1.f format that can be supported
    in 32 bit floating-point format in accordance with IEEE-754 and how do i convert them to 10n exponent format to give me the complete decimal range?

    New to these tems

    Thanks

  2. #2
    VictorN's Avatar
    VictorN is online now Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Wallisellen (ZH), Switzerland
    Posts
    17,352

    Re: Floating point question

    Did you already read about IEEE-754 binary representation, for example here?
    Victor Nijegorodov

  3. #3
    Join Date
    Dec 2011
    Posts
    2

    Re: Floating point question

    I had a read through it and tried to make sense of this but i seem to be getting further away.. this may be a simple problem but this just is clicking with me..

    Would 2^-126 and 2^127 be the valid range for positve and negetive? I dont seem to be undersatnding the format of 2n*1.f.

    and how would i represent them in 10n format..

    sorry
    just confused

Posting Permissions

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


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center