From: pito <pi...@vo...> - 2010-09-04 19:31:25
|
Yes, 0.1 is $3dcccccc = 0.09999999403953552 from that the result will be 3.14158984478e+/-15 (shall be 3.1415926535e+/-15). Our result is 3.1415851, or 3.1415874 - so quite precise. However, I would simply recommend to print with 4 decimal places only. For atmega users -3.1415E-27 might be ok, I guess. And nobody will be nervous (:-)). Q: can we set the number of decimal places to be print somehow? Pito |