Search All of the Math Forum:

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

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

 Messages: [ Previous | Next ]
 luma Posts: 11 Registered: 11/17/12
Re: how could I specify the No. of bit that represent the No.????
Posted: Nov 23, 2012 4:25 PM

"Roger Stafford" wrote in message <k8mpns\$eoq\$1@newscl01ah.mathworks.com>...
> "luma " <luma.hamdi@ymail.com> wrote in message <k8mhff\$ib7\$1@newscl01ah.mathworks.com>...
> > "luma " <luma.hamdi@ymail.com> wrote in message <k8m958\$ltl\$1@newscl01ah.mathworks.com>...
> > > How could I specify the No.of bit that represent
> > > for ex.
> > > X=156.102

> - - - - - - - - -
> Luma, I don't understand what you mean when you ask "How could I specify the No. of bit that represent for ex. X=156.102". Are you asking how to convert decimal numbers into binary form? Are you asking how many bits would be required to do that? The answer to such questions would all depend on the format and accuracy in which the numbers are to be represented as well as their magnitude. Please explain your request in much, much greater detail. Show us some specific examples of what you wish to do.
>
> Roger Stafford

hello, Roger
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 .
I wish it will be clear

Date Subject Author
11/22/12 luma
11/22/12 Roger Stafford
11/22/12 Nasser Abbasi
11/22/12 luma
11/22/12 Roger Stafford
11/23/12 luma
11/23/12 dpb
11/23/12 Roger Stafford