2010-09-24 03:59:56 +02:00
|
|
|
# RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
|
|
|
|
|
|
|
|
# CHECK: .long 1067412619
|
|
|
|
# CHECK: .long 1075000115
|
|
|
|
# CHECK: .long 1077936128
|
|
|
|
# CHECK: .long 1082549862
|
|
|
|
.single 1.2455, +2.3, 3, + 4.2
|
2011-01-28 15:20:32 +01:00
|
|
|
|
2011-03-29 23:11:52 +02:00
|
|
|
# CHECK: .long 2139095040
|
|
|
|
.single InFinIty
|
|
|
|
|
2011-03-29 23:54:10 +02:00
|
|
|
# CHECK: .long 4286578688
|
|
|
|
.single -iNf
|
|
|
|
|
2011-03-29 23:11:52 +02:00
|
|
|
# CHECK: .long 2147483647
|
|
|
|
.single nAN
|
|
|
|
|
2011-01-28 15:20:32 +01:00
|
|
|
# CHECK: .long 1067928519
|
|
|
|
.float 1.307
|
2010-09-24 03:59:56 +02:00
|
|
|
|
|
|
|
# CHECK: .quad 4617315517961601024
|
|
|
|
# CHECK: .quad 4597526701198935065
|
|
|
|
# CHECK: .quad -4600933674317040845
|
|
|
|
.double 5, .232, -11.1
|
2010-09-24 19:10:26 +02:00
|
|
|
|
|
|
|
# CHECK: .quad 0
|
|
|
|
.double 0.0
|
2010-09-27 22:12:52 +02:00
|
|
|
|
|
|
|
# CHECK: .quad -4570379565595099136
|
|
|
|
.double -1.2e3
|
|
|
|
# CHECK: .quad -4690170861623122860
|
|
|
|
.double -1.2e-5
|
|
|
|
# CHECK: .quad -4465782973978902528
|
|
|
|
.double -1.2e+10
|
|
|
|
# CHECK: .quad 4681608360884174848
|
|
|
|
.double 1e5
|
|
|
|
# CHECK: .quad 4681608360884174848
|
|
|
|
.double 1.e5
|
|
|
|
# CHECK: .quad 4611686018427387904
|
|
|
|
.double 2.
|
|
|
|
|
|
|
|
// APFloat should reject these with an error, not crash:
|
|
|
|
//.double -1.2e+
|
|
|
|
//.double -1.2e
|