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
This commit is contained in:
Dale Johannesen
2007-09-05 17:50:36 +00:00
parent d4af306aec
commit c2ec2baf3d
21 changed files with 32 additions and 32 deletions

View File

@@ -38,9 +38,9 @@ float %test6(float %F) {
}
int %main(int %argc, sbyte** %argv) {
%a = call int %test1(float 3.1415926)
%a = call int %test1(float 0x400921FB40000000)
%b = call float %test2(int %a)
%c = call long %test3(double 3.1415926)
%c = call long %test3(double 0x400921FB4D12D84A)
%d = call double %test4(long %c)
%e = call double %test5(double 7.0)
%f = call float %test6(float 7.0)