diff options
author | Szabolcs Nagy <nsz@port70.net> | 2014-05-30 17:09:53 +0200 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2014-05-30 13:06:51 -0400 |
commit | bff6095d915f3e41206e47ea2a570ecb937ef926 (patch) | |
tree | 87fe4f5a4541909018baa9e9495ab8b6b29354be /src/network/inet_ntop.c | |
parent | c3504686580bd93c3937e3b6d6cfa223c4cd7b74 (diff) | |
download | musl-bff6095d915f3e41206e47ea2a570ecb937ef926.tar.gz musl-bff6095d915f3e41206e47ea2a570ecb937ef926.tar.bz2 musl-bff6095d915f3e41206e47ea2a570ecb937ef926.tar.xz musl-bff6095d915f3e41206e47ea2a570ecb937ef926.zip |
use cleaner code for handling float rounding in vfprintf
CONCAT(0x1p,LDBL_MANT_DIG) is not safe outside of libc,
use 2/LDBL_EPSILON instead.
fix was proposed by Morten Welinder.
Diffstat (limited to 'src/network/inet_ntop.c')
0 files changed, 0 insertions, 0 deletions