Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src



Module Name:    src
Committed By:   riastradh
Date:           Wed Nov  7 04:00:13 UTC 2018

Modified Files:
        src/lib/libm: Makefile
        src/tests/lib/libm: t_cos.c t_sin.c t_tan.c

Log Message:
Disable x87 implementations of sin, cos, tan.

The x87 hardware uses a bad approximation to pi for argument
reduction, and consequently yields bad answers for inputs near pi or
pi/2.

Tweak one tanf test whose doubly rounded output is a little too far
from the correct answer on the doubly rounded input.


To generate a diff of this commit:
cvs rdiff -u -r1.204 -r1.205 src/lib/libm/Makefile
cvs rdiff -u -r1.5 -r1.6 src/tests/lib/libm/t_cos.c \
    src/tests/lib/libm/t_sin.c
cvs rdiff -u -r1.6 -r1.7 src/tests/lib/libm/t_tan.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index