在 2021-07-13 17:21, Martin Storsjö 写道:
The mingw_pformat.c code converts all input floats to an 80 bit
float representation and analyzes that struct when printing the
float.

This was already fixed in
ceb4c4fd4b696e96bbe174ce4abc065d43e9ac87, but one case in
was missed. Factorize the conversion from 64 to 80 bit floats to
a function used to intialize the __pformat_fpreg_t struct.

Signed-off-by: Martin Storsjö <mar...@martin.st>
---
  mingw-w64-crt/stdio/mingw_pformat.c | 46 ++++++++++++++++-------------
  1 file changed, 26 insertions(+), 20 deletions(-)



This patch looks good itself.

(Is it necessary to take this 64->80->string approach on ARM? It seems to me an 
overkill.)



--
Best regards,
LIU Hao

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to