mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-07 10:10:39 +02:00
* fixed output of 32-bit floating point constants in the llvm-mc asm output
This commit is contained in:
parent
d84a7d1bde
commit
f6b4a54f7d
@ -153,7 +153,7 @@ implementation
|
||||
end;
|
||||
end
|
||||
else
|
||||
result:=result+'0x1.'+HexStr(fraction,fraction_hexdigits)+'p'+tostr(exponent-exponent_bias);
|
||||
result:=result+'0x1.'+HexStr(fraction shl (fraction_hexdigits*4-fraction_bits),fraction_hexdigits)+'p'+tostr(exponent-exponent_bias);
|
||||
end;
|
||||
|
||||
function constsingle(s: single): ansistring;
|
||||
|
Loading…
Reference in New Issue
Block a user