xref: /freebsd/contrib/arm-optimized-routines/math/test/testcases/directed/log2.tst (revision 59c8e88e72633afbc47a4ace0d2170d00d51f7dc)
1; Directed test cases for log2
2;
3; Copyright (c) 2018-2019, Arm Limited.
4; SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
5
6func=log2 op1=7ff80000.00000001 result=7ff80000.00000001 errno=0
7func=log2 op1=fff80000.00000001 result=7ff80000.00000001 errno=0
8func=log2 op1=7ff00000.00000001 result=7ff80000.00000001 errno=0 status=i
9func=log2 op1=fff00000.00000001 result=7ff80000.00000001 errno=0 status=i
10func=log2 op1=7ff00000.00000000 result=7ff00000.00000000 errno=0
11func=log2 op1=fff00000.00000000 result=7ff80000.00000001 errno=EDOM status=i
12func=log2 op1=7fefffff.ffffffff result=408fffff.ffffffff.ffa errno=0
13func=log2 op1=ffefffff.ffffffff result=7ff80000.00000001 errno=EDOM status=i
14func=log2 op1=3ff00000.00000000 result=00000000.00000000 errno=0
15func=log2 op1=bff00000.00000000 result=7ff80000.00000001 errno=EDOM status=i
16func=log2 op1=00000000.00000000 result=fff00000.00000000 errno=ERANGE status=z
17func=log2 op1=80000000.00000000 result=fff00000.00000000 errno=ERANGE status=z
18func=log2 op1=00000000.00000001 result=c090c800.00000000 errno=0
19func=log2 op1=80000000.00000001 result=7ff80000.00000001 errno=EDOM status=i
20func=log2 op1=40000000.00000000 result=3ff00000.00000000 errno=0
21func=log2 op1=3fe00000.00000000 result=bff00000.00000000 errno=0
22