bits required for decimal values
hi,
I would like to calculate the exact number of bits to represent a given
decimal number.
for integers logX with base 2, would do that.
similarly is there anyway to say for decimal numbers ( only for
numbers <1 ).
say, for 0.5 should give 1 and for 0.75 should give a result of 3 and I
dont want to do the long division just to find the bits required.
regards,
hurry.
.
Relevant Pages
- Re: Render TreeViewControls in .net 2003
... I have the exact same problem - maybe you have found a solution since? ... I would be gratefull to hear the answer from you. ... Prev by Date: ... (microsoft.public.dotnet.framework.aspnet.webcontrols) - Re: pulse oximeter
... Dev, ... The paths won't be the same and I can't really tell you what the exact ... Regards, ... Prev by Date: ... (comp.lang.labview) - Re: Generating EXACT same ".exe" file
... > I realise I could just take the exact ... Regards ... Heiner ... Prev by Date: ... (alt.comp.lang.borland-delphi) - bits required for decimal values
... I would like to calculate the exact number of bits to represent a given ... for integers logX with base 2, ... Prev by Date: ... (comp.dsp) - Re: Domain and workgroup problem for Windows 2000 Server
... The exact text of any errors may also help. ... Regards, ... Dave Patrick ....Please no email replies - reply in newsgroup. ... (microsoft.public.win2000.general) |
|