ftoastr: port to -Wdouble-promotion
commitc853fca788fd2308d4e4df68c581ba12f141e672
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 24 Feb 2017 16:44:27 +0000 (24 08:44 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 24 Feb 2017 16:45:05 +0000 (24 08:45 -0800)
tree27cb70dd7ae35b0d94a2c226007939e47063c036
parent4084b3a1094372b960ce4a97634e08f4538c8bdd
ftoastr: port to -Wdouble-promotion

Work around -Wdouble-promotion false alarm in recent GCCs.
* lib/ftoastr.c (PROMOTED_FLOAT): New macro.
(ftoastr_snprintf, FTOASTR): Use it.
ChangeLog
lib/ftoastr.c