xref: /freebsd/contrib/arm-optimized-routines/pl/math/test/testcases/directed/asinf.tst (revision 5a02ffc32e777041dd2dad4e651ed2a0865a0a5d)
1*5a02ffc3SAndrew Turner; asinf.tst
2*5a02ffc3SAndrew Turner;
3*5a02ffc3SAndrew Turner; Copyright (c) 2009-2023, Arm Limited.
4*5a02ffc3SAndrew Turner; SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
5*5a02ffc3SAndrew Turner
6*5a02ffc3SAndrew Turnerfunc=asinf op1=7fc00001 result=7fc00001 errno=0
7*5a02ffc3SAndrew Turnerfunc=asinf op1=ffc00001 result=7fc00001 errno=0
8*5a02ffc3SAndrew Turnerfunc=asinf op1=7f800001 result=7fc00001 errno=0 status=i
9*5a02ffc3SAndrew Turnerfunc=asinf op1=ff800001 result=7fc00001 errno=0 status=i
10*5a02ffc3SAndrew Turnerfunc=asinf op1=7f800000 result=7fc00001 errno=EDOM status=i
11*5a02ffc3SAndrew Turnerfunc=asinf op1=ff800000 result=7fc00001 errno=EDOM status=i
12*5a02ffc3SAndrew Turnerfunc=asinf op1=00000000 result=00000000 errno=0
13*5a02ffc3SAndrew Turnerfunc=asinf op1=80000000 result=80000000 errno=0
14*5a02ffc3SAndrew Turner; Inconsistent behavior was detected for the following 2 cases.
15*5a02ffc3SAndrew Turner; No exception is raised with certain versions of glibc. Functions
16*5a02ffc3SAndrew Turner; approximated by x near zero may not generate/implement flops and
17*5a02ffc3SAndrew Turner; thus may not raise exceptions.
18*5a02ffc3SAndrew Turnerfunc=asinf op1=00000001 result=00000001 errno=0 maybestatus=ux
19*5a02ffc3SAndrew Turnerfunc=asinf op1=80000001 result=80000001 errno=0 maybestatus=ux
20*5a02ffc3SAndrew Turner
21*5a02ffc3SAndrew Turnerfunc=asinf op1=3f800000 result=3fc90fda.a22 errno=0
22*5a02ffc3SAndrew Turnerfunc=asinf op1=bf800000 result=bfc90fda.a22 errno=0
23*5a02ffc3SAndrew Turnerfunc=asinf op1=3f800001 result=7fc00001 errno=EDOM status=i
24*5a02ffc3SAndrew Turnerfunc=asinf op1=bf800001 result=7fc00001 errno=EDOM status=i
25