This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problems with numerical accuracy?


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

Regards
Marco



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]