This commit is contained in:
chriseth 2021-08-17 19:53:01 +02:00
parent c1c4b4951c
commit 5b9da8418d

View File

@ -1,7 +1,7 @@
contract C {
function f() public pure returns (bytes memory) {
return abi.encodePacked(
1.23,
ufixed16x3(1.23),
fixed64x4(-1.234)
);
}
@ -15,5 +15,5 @@ contract C {
// ====
// compileViaYul: also
// ----
// f() ->
// g() ->
// f() -> 0x20, 10, 0x4ceffffffffffffcfcc00000000000000000000000000000000000000000000
// g() -> 0x20, 0x40, 0x7b, -12340