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




------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Amforth-devel mailing list
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to