Back to library index.

Package unsigned (in unsigned.i) -

Index of documented functions or symbols:

s_char

DOCUMENT s_char(x)
  return short(x) interpreting char x as a signed integer.

SEE ALSO: u_cast

u_cast

DOCUMENT u_cast(x, structof(y))
      or u_cast(x, y)
  return x as an unsigned integer of type y.

SEE ALSO: u_gt, u_lt, u_ge, u_le, u_shr, u_div, u_mod, s_char

u_div

DOCUMENT u_div(n,d)
      or u_div(n,d, r)
  return n/d treating n and d as unsigned integers.
  The optional third argument R is an output, set to n%d

SEE ALSO: u_gt, u_lt, u_ge, u_le, u_shr, u_mod, u_cast

u_eq

DOCUMENT u_eq(x,y)
  return x==y treating x and y as unsigned integers.

SEE ALSO: u_gt, u_lt, u_ge, u_ne, u_shr, u_div, u_mod, u_cast

u_ge

DOCUMENT u_gt(x,y)
  return x>=y treating x and y as unsigned integers.

SEE ALSO: u_gt, u_lt, u_le, u_eq, u_ne, u_shr, u_div, u_mod, u_cast

u_gt

DOCUMENT u_gt(x,y)
  return x>y treating x and y as unsigned integers.

SEE ALSO: u_lt, u_ge, u_le, u_eq, u_ne, u_shr, u_div, u_mod, u_cast

u_le

DOCUMENT u_gt(x,y)
  return x<=y treating x and y as unsigned integers.

SEE ALSO: u_gt, u_lt, u_ge, u_eq, u_ne, u_shr, u_div, u_mod, u_cast

u_lt

DOCUMENT u_gt(x,y)
  return x
  

SEE ALSO: u_gt, u_ge, u_le, u_eq, u_ne, u_shr, u_div, u_mod, u_cast

u_mod

DOCUMENT u_mod(n,d)
      or u_mod(n,d, q)
  return n%d treating n and d as unsigned integers.
  The optional third argument Q is an output, set to n/d

SEE ALSO: u_gt, u_lt, u_ge, u_le, u_shr, u_div, u_cast

u_ne

DOCUMENT u_ne(x,y)
  return x!=y treating x and y as unsigned integers.

SEE ALSO: u_gt, u_lt, u_ge, u_eq, u_shr, u_div, u_mod, u_cast

u_shr

DOCUMENT u_shr(x,n)
  return x>>n treating x as an unsigned integer.

SEE ALSO: u_gt, u_lt, u_ge, u_le, u_div, u_mod, u_cast