Re: gcc 11.1.0: printf("%.43f\n", 0x1.52f8a8e32e982p-140): printed value is incorrectly rounded

2021-11-03 Thread Pavel M via Cygwin
To Brian Inglis: thanks! Forwarded to newlib mailing list. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple

C standard library: standard headers may reserve non-standard identifiers which don't begin with an underscore

2021-11-03 Thread Pavel M via Cygwin
Observation: C standard library: standard headers may reserve non-standard identifiers which don't begin with an underscore. Invocations: $ echo -e "#include \n#define NL_NMAX" | gcc -xc - -std=c11 -pedantic -Wall -Wextra -E > /dev/null :2: warning: "NL_NMAX" redefined In file included from /usr/l

Re: gcc 11.1.0: printf("%.43f\n", 0x1.52f8a8e32e982p-140): printed value is incorrectly rounded

2021-11-03 Thread Pavel M via Cygwin
Ah, sorry! Now I see: https://www.mail-archive.com/cygwin@cygwin.com/msg168488.html. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-

Re: gcc 11.1.0: printf("%.43f\n", 0x1.52f8a8e32e982p-140): printed value is incorrectly rounded

2021-11-03 Thread Pavel M via Cygwin
Hello. Is there any update on this? Thanks. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple

gcc 11.1.0: printf("%.43f\n", 0x1.52f8a8e32e982p-140): printed value is incorrectly rounded

2021-06-12 Thread Pavel M via Cygwin
Sample code (t903.c): #include int main(void) { printf("%.43f\n", 0x1.52f8a8e32e982p-140); return 0; } Invocations: # gcc on Windows 10 (Cygwin) $ gcc t903.c -Wall -Wextra -std=c11 -pedantic -Wfatal-errors && ./a.exe 0.010 $ gcc --version gcc (GCC)