The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: how could I specify the No. of bit that represent the No.????
Replies: 7   Last Post: Nov 23, 2012 6:08 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Roger Stafford

Posts: 5,929
Registered: 12/7/04
Re: how could I specify the No. of bit that represent the No.????
Posted: Nov 23, 2012 6:08 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"luma " <> wrote in message <k8opjk$9j5$>...
> I mean that the integer of x=156 and I need only 8 bit to represent the no. in good accuracy and x=0.102 the fractional could be represent good accuracy in 7 bit only . and then I don't need more than (8+7=15) 15 bit to represent x .
- - - - - - - - -
You have (more or less) indicated that you know how to calculate the number of bits required to store a number like 156.102 . However, it isn't at all evident what you are attempting to find out in this thread. What do you want to learn that you don't already know? As dpb asks, please give us "complete details". You have yet to do that!

Roger Stafford

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.