class TZInfo::DataSources::ZoneinfoReader
def make_signed_int64(high, low)
Experimental RBS support (using type sampling data from the type_fusion
project).
def make_signed_int64: (Integer high, Integer low) -> Integer
This signature was generated using 2 samples from 1 application.
-
(Integer)
- {high} and {low} combined and translated to signed
Parameters:
-
low
(Integer
) -- the least significant 32-bits. -
high
(Integer
) -- the most significant 32-bits.
def make_signed_int64(high, low) unsigned = (high << 32) | low unsigned >= 0x8000000000000000 ? unsigned - 0x10000000000000000 : unsigned end