xref: /freebsd/contrib/arm-optimized-routines/pl/math/test/testcases/directed/atan.tst (revision 9f23cbd6cae82fd77edfad7173432fa8dccd0a95)
1; atan.tst
2;
3; Copyright (c) 1999-2023, Arm Limited.
4; SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
5
6func=atan op1=7ff80000.00000001 result=7ff80000.00000001 errno=0
7func=atan op1=fff80000.00000001 result=7ff80000.00000001 errno=0
8func=atan op1=7ff00000.00000001 result=7ff80000.00000001 errno=0 status=i
9func=atan op1=fff00000.00000001 result=7ff80000.00000001 errno=0 status=i
10func=atan op1=7ff00000.00000000 result=3ff921fb.54442d18.469 errno=0
11func=atan op1=fff00000.00000000 result=bff921fb.54442d18.469 errno=0
12func=atan op1=00000000.00000000 result=00000000.00000000 errno=0
13func=atan 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=atan op1=00000000.00000001 result=00000000.00000001 errno=0 maybestatus=ux
19func=atan op1=80000000.00000001 result=80000000.00000001 errno=0 maybestatus=ux
20
21func=atan op1=3ff00000.00000000 result=3fe921fb.54442d18.469 errno=0
22func=atan op1=bff00000.00000000 result=bfe921fb.54442d18.469 errno=0
23