Problems with numerical accuracy?

marco atzeri
Mon Jun 4 20:32:00 GMT 2012

On 5/30/2012 12:57 PM, Vegard Aaker wrote:
> I only managed to print 16 bits of accuracy on the embedded board. But
> I am not certain that printing the FP value will give me the answer to
> how many bits are used. Do anyone else has a better suggestion to how
> I could check the accuracy. I cannot find any information about it on
> the spesification of the real time OS.

check n in 1 to 80 until 1+(1/2)^n is different from 1


More information about the Newlib mailing list