diff options
author | Rich Felker <dalias@aerifal.cx> | 2020-02-06 11:34:54 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2020-02-06 13:18:00 -0500 |
commit | 1c9afd69051a64cf085c6fb3674a444ff9a43857 (patch) | |
tree | cf65884fe30ea7acb77644e07ce41997067e29bf /include/getopt.h | |
parent | b4712ba445a5cb589d1ac37785c29164cd3cf1f9 (diff) | |
download | musl-1c9afd69051a64cf085c6fb3674a444ff9a43857.tar.gz musl-1c9afd69051a64cf085c6fb3674a444ff9a43857.tar.bz2 musl-1c9afd69051a64cf085c6fb3674a444ff9a43857.tar.xz musl-1c9afd69051a64cf085c6fb3674a444ff9a43857.zip |
fix excess precision in return value of i386 atan[2][f]
for functions implemented in C, this is a requirement of C11 (F.6);
strictly speaking that text does not apply to standard library
functions, but it seems to be intended to apply to them, and C2x is
expected to make it a requirement.
failure to drop excess precision is particularly bad for inverse trig
functions, where a value with excess precision can be outside the
range of the function (entire range, or range for a particular
subdomain), breaking reasonable invariants a caller may expect.
Diffstat (limited to 'include/getopt.h')
0 files changed, 0 insertions, 0 deletions