llvm-6502/test/Assembler/2002-04-07-InfConstant.llx
Dale Johannesen c2ec2baf3d Change all floating constants that are not exactly
representable to use hex format.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41722 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-05 17:50:36 +00:00

12 lines
220 B
Plaintext

; The output formater prints out 1.0e100 as Inf!
;
; RUN: llvm-upgrade < %s | llvm-as | llvm-dis | llvm-as | llvm-dis
implementation
float "test"()
begin
%tmp = mul float 0x7FF0000000000000, 1.0e1
ret float %tmp
end