about summary refs log tree commit diff
path: root/src/math/llroundf.c
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2014-05-30 17:09:53 +0200
committerRich Felker <dalias@aerifal.cx>2014-05-30 13:06:51 -0400
commitbff6095d915f3e41206e47ea2a570ecb937ef926 (patch)
tree87fe4f5a4541909018baa9e9495ab8b6b29354be /src/math/llroundf.c
parentc3504686580bd93c3937e3b6d6cfa223c4cd7b74 (diff)
downloadmusl-bff6095d915f3e41206e47ea2a570ecb937ef926.tar.gz
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/math/llroundf.c')
0 files changed, 0 insertions, 0 deletions