mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user