xref: /aosp_15_r20/external/arm-optimized-routines/math/test/testcases/directed/cosf.tst (revision 412f47f9e737e10ed5cc46ec6a8d7fa2264f8a14)
1*412f47f9SXin Li; cosf.tst - Directed test cases for SP cosine
2*412f47f9SXin Li;
3*412f47f9SXin Li; Copyright (c) 2007-2019, Arm Limited.
4*412f47f9SXin Li; SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
5*412f47f9SXin Li
6*412f47f9SXin Lifunc=cosf op1=7fc00001 result=7fc00001 errno=0
7*412f47f9SXin Lifunc=cosf op1=ffc00001 result=7fc00001 errno=0
8*412f47f9SXin Lifunc=cosf op1=7f800001 result=7fc00001 errno=0 status=i
9*412f47f9SXin Lifunc=cosf op1=ff800001 result=7fc00001 errno=0 status=i
10*412f47f9SXin Lifunc=cosf op1=7f800000 result=7fc00001 errno=EDOM status=i
11*412f47f9SXin Lifunc=cosf op1=ff800000 result=7fc00001 errno=EDOM status=i
12*412f47f9SXin Lifunc=cosf op1=00000000 result=3f800000 errno=0
13*412f47f9SXin Lifunc=cosf op1=80000000 result=3f800000 errno=0
14*412f47f9SXin Li; SDCOMP-26094: check cosf in the cases for which the range reducer
15*412f47f9SXin Li; returns values furthest beyond its nominal upper bound of pi/4.
16*412f47f9SXin Lifunc=cosf op1=46427f1b result=3f34dc5c.565 error=0
17*412f47f9SXin Lifunc=cosf op1=4647e568 result=3f34dc33.c1f error=0
18*412f47f9SXin Lifunc=cosf op1=46428bac result=bf34dbf2.8e3 error=0
19*412f47f9SXin Lifunc=cosf op1=4647f1f9 result=bf34dbc9.f9b error=0
20*412f47f9SXin Lifunc=cosf op1=4647fe8a result=3f34db60.313 error=0
21*412f47f9SXin Lifunc=cosf op1=45d8d7f1 result=bf35006a.7fd error=0
22*412f47f9SXin Lifunc=cosf op1=45d371a4 result=3f350056.39b error=0
23*412f47f9SXin Lifunc=cosf op1=45ce0b57 result=bf350041.f38 error=0
24*412f47f9SXin Lifunc=cosf op1=45d35882 result=bf34ffec.868 error=0
25*412f47f9SXin Lifunc=cosf op1=45cdf235 result=3f34ffd8.404 error=0
26