flipside
Insights
Studio
Quests
For Chains
For Analysts
For Explorers
About
Log in
Sign up
flipside
Negative Numbers - int256
Ant-DAO-Ment
Negative Numbers - int256
Updated 2025-03-11
Copy Reference
Fork
9
1
2
3
4
5
›
⌄
select
'positive'
as
hex_type
,
ethereum
.
public
.
udf_hex_to_int
(
'0x09'
)
as
value
union
select
'negative'
as
hex_type
,
ethereum
.
public
.
udf_hex_to_int
(
's2c'
,
'fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd'
)
as
value
Results
Last run: about 1 month ago
HEX_TYPE
VALUE
1
negative
-3
2
positive
9
1
2
36B
3s