Search All of the Math Forum:

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

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

 Messages: [ Previous | Next ]
 dpb Posts: 9,850 Registered: 6/7/07
Re: how could I specify the No. of bit that represent the No.????
Posted: Nov 23, 2012 5:32 PM

On 11/23/2012 3:25 PM, luma wrote:
...

> 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

Like Roger, I'm totally confused as to what you're really trying to say
here...but

Are you saying you're trying to represent the integer and fractional
portion of a value as the integer value of each in two separate bit
fields so that the internal storage could be

bit positions 1-15
11111100 0000000
54321098 7654321

10011100.1100110

where the decimal is an implied one????

If not, try again in complete detail to explain what it is you are
trying to do...

--

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