Skip to content

Commit 0e1681e

Browse files
committed
be precise
1 parent 67752c4 commit 0e1681e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

llvm/test/Transforms/InstSimplify/ConstProp/sinh-cosh-intrinsics.ll

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ define double @test_sinh_0() {
1111

1212
define double @test_sinh_ln2() {
1313
; CHECK-LABEL: define double @test_sinh_ln2() {
14-
; CHECK-NEXT: ret double 0x3FE8000000000268
14+
; CHECK-NEXT: ret double 7.500000e-01
1515
;
16-
%res = call double @llvm.sinh.f64(double 0.69314718056)
16+
%res = call double @llvm.sinh.f64(double 0.6931471805599453)
1717
ret double %res
1818
}
1919

2020
define double @test_sinh_ln5() {
2121
; CHECK-LABEL: define double @test_sinh_ln5() {
22-
; CHECK-NEXT: ret double 0x400333333332D56D
22+
; CHECK-NEXT: ret double 2.400000e+00
2323
;
24-
%res = call double @llvm.sinh.f64(double 1.60943791243)
24+
%res = call double @llvm.sinh.f64(double 1.6094379124341003)
2525
ret double %res
2626
}
2727

@@ -105,17 +105,17 @@ define double @test_cosh_0() {
105105

106106
define double @test_cosh_ln2() {
107107
; CHECK-LABEL: define double @test_cosh_ln2() {
108-
; CHECK-NEXT: ret double 0x3FF40000000000B8
108+
; CHECK-NEXT: ret double 1.250000e+00
109109
;
110-
%res = call double @llvm.cosh.f64(double 0.69314718056)
110+
%res = call double @llvm.cosh.f64(double 0.6931471805599453)
111111
ret double %res
112112
}
113113

114114
define double @test_cosh_ln5() {
115115
; CHECK-LABEL: define double @test_cosh_ln5() {
116-
; CHECK-NEXT: ret double 0x4004CCCCCCCC763D
116+
; CHECK-NEXT: ret double 0x4004CCCCCCCCCCCC
117117
;
118-
%res = call double @llvm.cosh.f64(double 1.60943791243)
118+
%res = call double @llvm.cosh.f64(double 1.6094379124341003)
119119
ret double %res
120120
}
121121

0 commit comments

Comments
 (0)