xref: /freebsd/contrib/arm-optimized-routines/pl/math/test/testcases/directed/asin.tst (revision 5a02ffc32e777041dd2dad4e651ed2a0865a0a5d)
1; asin.tst
2;
3; Copyright (c) 2009-2023, Arm Limited.
4; SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
5
6func=asin op1=7ff80000.00000001 result=7ff80000.00000001 errno=0
7func=asin op1=fff80000.00000001 result=7ff80000.00000001 errno=0
8func=asin op1=7ff00000.00000001 result=7ff80000.00000001 errno=0 status=i
9func=asin op1=fff00000.00000001 result=7ff80000.00000001 errno=0 status=i
10func=asin op1=7ff00000.00000000 result=7ff80000.00000001 errno=EDOM status=i
11func=asin op1=fff00000.00000000 result=7ff80000.00000001 errno=EDOM status=i
12func=asin op1=00000000.00000000 result=00000000.00000000 errno=0
13func=asin op1=80000000.00000000 result=80000000.00000000 errno=0
14; Inconsistent behavior was detected for the following 2 cases.
15; No exception is raised with certain versions of glibc. Functions
16; approximated by x near zero may not generate/implement flops and
17; thus may not raise exceptions.
18func=asin op1=00000000.00000001 result=00000000.00000001 errno=0 maybestatus=ux
19func=asin op1=80000000.00000001 result=80000000.00000001 errno=0 maybestatus=ux
20
21func=asin op1=3ff00000.00000000 result=3ff921fb.54442d18.469 errno=0
22func=asin op1=bff00000.00000000 result=bff921fb.54442d18.469 errno=0
23func=asin op1=3ff00000.00000001 result=7ff80000.00000001 errno=EDOM status=i
24func=asin op1=bff00000.00000001 result=7ff80000.00000001 errno=EDOM status=i
25