xref: /freebsd-src/contrib/arm-optimized-routines/math/test/testcases/directed/cosf.tst (revision 072a4ba82a01476eaee33781ccd241033eefcf0b)
131914882SAlex Richardson; cosf.tst - Directed test cases for SP cosine
231914882SAlex Richardson;
331914882SAlex Richardson; Copyright (c) 2007-2019, Arm Limited.
4*072a4ba8SAndrew Turner; SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
531914882SAlex Richardson
631914882SAlex Richardsonfunc=cosf op1=7fc00001 result=7fc00001 errno=0
731914882SAlex Richardsonfunc=cosf op1=ffc00001 result=7fc00001 errno=0
831914882SAlex Richardsonfunc=cosf op1=7f800001 result=7fc00001 errno=0 status=i
931914882SAlex Richardsonfunc=cosf op1=ff800001 result=7fc00001 errno=0 status=i
1031914882SAlex Richardsonfunc=cosf op1=7f800000 result=7fc00001 errno=EDOM status=i
1131914882SAlex Richardsonfunc=cosf op1=ff800000 result=7fc00001 errno=EDOM status=i
1231914882SAlex Richardsonfunc=cosf op1=00000000 result=3f800000 errno=0
1331914882SAlex Richardsonfunc=cosf op1=80000000 result=3f800000 errno=0
1431914882SAlex Richardson; SDCOMP-26094: check cosf in the cases for which the range reducer
1531914882SAlex Richardson; returns values furthest beyond its nominal upper bound of pi/4.
1631914882SAlex Richardsonfunc=cosf op1=46427f1b result=3f34dc5c.565 error=0
1731914882SAlex Richardsonfunc=cosf op1=4647e568 result=3f34dc33.c1f error=0
1831914882SAlex Richardsonfunc=cosf op1=46428bac result=bf34dbf2.8e3 error=0
1931914882SAlex Richardsonfunc=cosf op1=4647f1f9 result=bf34dbc9.f9b error=0
2031914882SAlex Richardsonfunc=cosf op1=4647fe8a result=3f34db60.313 error=0
2131914882SAlex Richardsonfunc=cosf op1=45d8d7f1 result=bf35006a.7fd error=0
2231914882SAlex Richardsonfunc=cosf op1=45d371a4 result=3f350056.39b error=0
2331914882SAlex Richardsonfunc=cosf op1=45ce0b57 result=bf350041.f38 error=0
2431914882SAlex Richardsonfunc=cosf op1=45d35882 result=bf34ffec.868 error=0
2531914882SAlex Richardsonfunc=cosf op1=45cdf235 result=3f34ffd8.404 error=0
26