[Bug c/84815] New: gcc fwrite failed write to stdout in binary mode (Win7)

2018-03-10 Thread albertmcchan at yahoo dot com
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: albertmcchan at yahoo dot com Target Milestone: --- #include #include #include #include int main() { size_t n = 64*1024; // code ok if below 64k char* buf = malloc(n

[Bug c/83861] sscanf %lg conversion bug

2018-01-15 Thread albertmcchan at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83861 --- Comment #2 from Albert Chan --- hello Andrew, can you explain what is libc ? is it part of gcc ? where should this sscanf bug be sent ?

[Bug debug/83861] New: sscanf %lg conversion bug

2018-01-15 Thread albertmcchan at yahoo dot com
Assignee: unassigned at gcc dot gnu.org Reporter: albertmcchan at yahoo dot com Target Milestone: --- double x; sscanf("6.2e-323", "%lg", &x); x were set to 6e-323, which was 1 ULP short correct value should be 6.4e-323 this bug failed even with the latest

[Bug c/33167] Hex constant characters with \x escape not parsing correctly

2018-01-09 Thread albertmcchan at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33167 --- Comment #6 from Albert Chan --- if gcc hex escape AND octal is right, does it contradict comment #1 ? "octal or hexadecimal ... longest sequence that constitute escape sequence" I noticed OLD python (2.0) also use the C rule regarding hex e

[Bug c/33167] Hex constant characters with \x escape not parsing correctly

2018-01-07 Thread albertmcchan at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33167 Albert Chan changed: What|Removed |Added CC||albertmcchan at yahoo dot com --- Comment

[Bug c/48140] fmod() not accurate to double precision?

2017-12-08 Thread albertmcchan at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48140 Albert Chan changed: What|Removed |Added CC||albertmcchan at yahoo dot com --- Comment