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