Re: text.e bugs?
- Posted by petelomax Jan 13, 2015
- 2018 views
jimcbrown said...
cargoan said...
printf general format bug?
Probably. I get identical results from the following C code, so it's a C library issue, not an Euphoria issue.
It has nothing to do with the C library. If you increase the number of digits before the decimal point:
2.6758787874 ==> 2.675879 2.6758787874 ==> 2.67588 12.6758787874 ==> 12.675879 12.6758787874 ==> 12.6759 123.6758787874 ==> 123.675879 123.6758787874 ==> 123.676 1234.6758787874 ==> 1234.675879 1234.6758787874 ==> 1234.68I think the ".6" has a different meaning for f (six decimal paces?) and g (six digits?).
If anyone finds somewhere this is explained properly, please post a link here.
Pete