在 2019/5/30 8:59, sisyphus 写道: > Hi, > I'm aware of problems with strtold's capacity to parse hex strings. See: > https://sourceforge.net/p/mingw-w64/bugs/725/ > > That report provides a demo script and also mentions the workaround (of > using __mingw_strtold instead). > I *think* it's still unfixed, but I'm unaware of it affecting anything > other than strtold. >
It is not. It is probably the necessity of specific implementations for the 53-bit extended precision format that has this to be left behind. Implementations of `strto*` functions for the standard IEEE 53-bit double precision are quite common (clearly the ones in MSVCR* DLLs are already there, nice and working); but the x87 64-bit precision is not so fortunate. > On Thu, May 30, 2019 at 4:40 AM EML <[email protected]> wrote: > >> Question - is mingw-w64 actually using an old libc version? It's going >> to take me hours to find the old test cases, or write new ones, so I >> thought I'd just do a sanity check here first. Thanks. >> >> Of course not. Be advised that libc is LGPL'd; mingw-w64 is not. Neither is it an option to copy libc code into mingw-w64. Feel welcome to contribute a patch for it. -- Best regards, LH_Mouse _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
