08-25-2022, 09:37 PM
(This post was last modified: 08-25-2022, 11:02 PM by Kernelpanic.)
(08-25-2022, 08:12 PM)mnrvovrfc Wrote: Why not just "printf" instead of "__mingw_printf"? Because you're including "stdio.h" then "printf()" should be available. I tried to compile your program as it was, "gcc" asked me if I meant "builtin_printf()" or alike. After I forgot what option for linker so it links to math library...
"__mingw-printf" is for representing large numbers like long double.
So, "__mingw_printf("%.12Lf"...) is for displayin great numbers.