On Sun, Jul 18, 2010 at 1:07 PM, Aaron Lewis <aaron.lewis1...@gmail.com> wrote: >> What do you mean by "precision"? > > Kinda of significance digit. For example: > B A number `12.340' , and if say it has 2 digits' precision , then we > consider the `0' is not accurate , while `.34' is accurate.
What?! > > So for a number stored in a double type , how accurate can it be ? (or > maybe how many bits in the fixed-point part is accurate) http://en.wikipedia.org/wiki/Double_precision_floating-point_format > > Doesn't matter if it's unsigned or signed , some ideas are cool enough. I'd like to see your unsigned double! > > Still , use a small part of code , c or c++ , i'm just curious how to > make it happen. What problem (i.e. homework assignment) are you trying to solve? -- Floor Terra <flo...@gmail.com> www: http://brobding.mine.nu/