Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

i64

i64

i64 -- 64-bit signed integer values

Functions

bitwise and, or and xor operations

redefines:


redefines:


redefines:

division and remainder with check for div-by-zero

redefines:

conversion to float
this i64 as an i32
would negation -thiz cause an overflow?
would addition thiz + other cause an overflow or underflow?
would subtraction thiz - other cause an overflow or underflow?
would multiplication thiz * other cause an overflow or underflow?
neg, add, sub, mul with wrap-around semantics
shift operations (signed)

redefines:


redefines:

this i64 as an i8
this i64 as an u8

redefines:

this i64 as an u16
this i64 as an u32
this i64 as an u64
this i64 as an u128
this i64 as an int
casting bit representation to unsigned

redefines:

find the highest 1 bit in this integer and return integer with
this single bit set or 0 if this is 0.
count the number of trailing zeros in this integer.
count the number of 1 bits in the binary representation of this
integer.
this i64 as an i16
this i64 as an uint

Type Features

maximum
total order
minimum
equality
§type.hash_code(a i64.this.type)
 => 
u64
:
Any 
create hash code from this number
identity element for 'infix +'

redefines:

identity element for 'infix *'

redefines:

returns the number in whose bit representation all bits are ones