1*072a4ba8SAndrew Turner; atan.tst 2*072a4ba8SAndrew Turner; 3*072a4ba8SAndrew Turner; Copyright (c) 1999-2023, Arm Limited. 4*072a4ba8SAndrew Turner; SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception 5*072a4ba8SAndrew Turner 6*072a4ba8SAndrew Turnerfunc=atan op1=7ff80000.00000001 result=7ff80000.00000001 errno=0 7*072a4ba8SAndrew Turnerfunc=atan op1=fff80000.00000001 result=7ff80000.00000001 errno=0 8*072a4ba8SAndrew Turnerfunc=atan op1=7ff00000.00000001 result=7ff80000.00000001 errno=0 status=i 9*072a4ba8SAndrew Turnerfunc=atan op1=fff00000.00000001 result=7ff80000.00000001 errno=0 status=i 10*072a4ba8SAndrew Turnerfunc=atan op1=7ff00000.00000000 result=3ff921fb.54442d18.469 errno=0 11*072a4ba8SAndrew Turnerfunc=atan op1=fff00000.00000000 result=bff921fb.54442d18.469 errno=0 12*072a4ba8SAndrew Turnerfunc=atan op1=00000000.00000000 result=00000000.00000000 errno=0 13*072a4ba8SAndrew Turnerfunc=atan op1=80000000.00000000 result=80000000.00000000 errno=0 14*072a4ba8SAndrew Turner; Inconsistent behavior was detected for the following 2 cases. 15*072a4ba8SAndrew Turner; No exception is raised with certain versions of glibc. Functions 16*072a4ba8SAndrew Turner; approximated by x near zero may not generate/implement flops and 17*072a4ba8SAndrew Turner; thus may not raise exceptions. 18*072a4ba8SAndrew Turnerfunc=atan op1=00000000.00000001 result=00000000.00000001 errno=0 maybestatus=ux 19*072a4ba8SAndrew Turnerfunc=atan op1=80000000.00000001 result=80000000.00000001 errno=0 maybestatus=ux 20*072a4ba8SAndrew Turner 21*072a4ba8SAndrew Turnerfunc=atan op1=3ff00000.00000000 result=3fe921fb.54442d18.469 errno=0 22*072a4ba8SAndrew Turnerfunc=atan op1=bff00000.00000000 result=bfe921fb.54442d18.469 errno=0 23