xref: /freebsd/contrib/arm-optimized-routines/pl/math/test/testcases/directed/erfc.tst (revision a4e5e0106ac7145f56eb39a691e302cabb4635be)
1; erfc.tst - Directed test cases for erfc
2;
3; Copyright (c) 2022-2023, Arm Limited.
4; SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
5
6func=erfc op1=7ff80000.00000001 result=7ff80000.00000001 errno=0
7func=erfc op1=fff80000.00000001 result=7ff80000.00000001 errno=0
8func=erfc op1=7ff00000.00000001 result=7ff80000.00000001 errno=0 status=i
9func=erfc op1=fff00000.00000001 result=7ff80000.00000001 errno=0 status=i
10func=erfc op1=7ff00000.00000000 result=00000000.00000000 errno=0
11func=erfc op1=7fefffff.ffffffff result=00000000.00000000 errno=ERANGE status=ux
12; We deliberately turned off errno setting in erf, as standard simply
13; state that errno `may` be set to ERANGE in case of underflow.
14; As a result the following condition on errno cannot be satisfied.
15;
16; func=erfc op1=403b44af.48b01531 result=00000000.00000000 errno=ERANGE status=ux
17;
18func=erfc op1=c03b44af.48b01531 result=40000000.00000000 errno=0
19func=erfc op1=403bffff.ffffffff result=00000000.00000000 errno=ERANGE status=ux
20func=erfc op1=c03bffff.ffffffff result=40000000.00000000 errno=0
21func=erfc op1=fff00000.00000000 result=40000000.00000000 errno=0
22func=erfc op1=00000000.00000000 result=3ff00000.00000000 errno=0
23func=erfc op1=80000000.00000000 result=3ff00000.00000000 errno=0
24