aboutsummaryrefslogtreecommitdiff
path: root/pl/math/test/testcases/directed/expm1.tst
blob: 609d6f4797213522446ab5ed3a69552fd8c9762b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
; expm1.tst
;
; Copyright (c) 2009-2023, Arm Limited.
; SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception

func=expm1 op1=7ff80000.00000001 result=7ff80000.00000001 errno=0
func=expm1 op1=fff80000.00000001 result=7ff80000.00000001 errno=0
func=expm1 op1=7ff00000.00000001 result=7ff80000.00000001 errno=0 status=i
func=expm1 op1=fff00000.00000001 result=7ff80000.00000001 errno=0 status=i
func=expm1 op1=7ff00000.00000000 result=7ff00000.00000000 errno=0
func=expm1 op1=7fefffff.ffffffff result=7ff00000.00000000 errno=ERANGE status=ox
func=expm1 op1=fff00000.00000000 result=bff00000.00000000 errno=0
func=expm1 op1=ffefffff.ffffffff result=bff00000.00000000 errno=0
func=expm1 op1=00000000.00000000 result=00000000.00000000 errno=0
func=expm1 op1=80000000.00000000 result=80000000.00000000 errno=0
; Inconsistent behavior was detected for the following 2 cases.
; No exception is raised with certain versions of glibc. Functions
; approximated by x near zero may not generate/implement flops and
; thus may not raise exceptions.
func=expm1 op1=00000000.00000001 result=00000000.00000001 errno=0 maybestatus=ux
func=expm1 op1=80000000.00000001 result=80000000.00000001 errno=0 maybestatus=ux