xref: /freebsd-src/contrib/arm-optimized-routines/math/test/testcases/directed/log2f.tst (revision 072a4ba82a01476eaee33781ccd241033eefcf0b)
131914882SAlex Richardson; log2f.tst - Directed test cases for log2f
231914882SAlex Richardson;
331914882SAlex Richardson; Copyright (c) 2017-2019, Arm Limited.
4*072a4ba8SAndrew Turner; SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
531914882SAlex Richardson
631914882SAlex Richardsonfunc=log2f op1=7fc00001 result=7fc00001 errno=0
731914882SAlex Richardsonfunc=log2f op1=ffc00001 result=7fc00001 errno=0
831914882SAlex Richardsonfunc=log2f op1=7f800001 result=7fc00001 errno=0 status=i
931914882SAlex Richardsonfunc=log2f op1=ff800001 result=7fc00001 errno=0 status=i
1031914882SAlex Richardsonfunc=log2f op1=ff810000 result=7fc00001 errno=0 status=i
1131914882SAlex Richardsonfunc=log2f op1=7f800000 result=7f800000 errno=0
1231914882SAlex Richardsonfunc=log2f op1=ff800000 result=7fc00001 errno=EDOM status=i
1331914882SAlex Richardsonfunc=log2f op1=3f800000 result=00000000 errno=0
1431914882SAlex Richardsonfunc=log2f op1=00000000 result=ff800000 errno=ERANGE status=z
1531914882SAlex Richardsonfunc=log2f op1=80000000 result=ff800000 errno=ERANGE status=z
1631914882SAlex Richardsonfunc=log2f op1=80000001 result=7fc00001 errno=EDOM status=i
1731914882SAlex Richardson
1831914882SAlex Richardsonfunc=log2f op1=3f7d70a4 result=bc6d8f8b.7d4 error=0
1931914882SAlex Richardsonfunc=log2f op1=3f604189 result=be4394c8.395 error=0
2031914882SAlex Richardsonfunc=log2f op1=3f278034 result=bf1caa73.88e error=0
2131914882SAlex Richardsonfunc=log2f op1=3edd3c36 result=bf9af3b9.619 error=0
2231914882SAlex Richardsonfunc=log2f op1=3e61259a result=c00bdb95.650 error=0
2331914882SAlex Richardsonfunc=log2f op1=3f8147ae result=3c6b3267.d6a error=0
2431914882SAlex Richardsonfunc=log2f op1=3f8fbe77 result=3e2b5fe2.a1c error=0
2531914882SAlex Richardsonfunc=log2f op1=3fac3eea result=3edb4d5e.1fc error=0
2631914882SAlex Richardsonfunc=log2f op1=3fd6e632 result=3f3f5d3a.827 error=0
2731914882SAlex Richardsonfunc=log2f op1=40070838 result=3f89e055.a0a error=0
28