Skip to content

_UnsignedPartialArithmetic

[Source]

primitive val _UnsignedPartialArithmetic is
  _PartialArithmetic ref

Implements


Constructors

create

[Source]

new val create()
: _UnsignedPartialArithmetic val^

Returns


Public Functions

div_checked[T: _UnsignedInteger[T] val]

[Source]

fun box div_checked[T: _UnsignedInteger[T] val](
  x: T,
  y: T)
: (T , Bool val)

Parameters

  • x: T
  • y: T

Returns


rem_checked[T: _UnsignedInteger[T] val]

[Source]

fun box rem_checked[T: _UnsignedInteger[T] val](
  x: T,
  y: T)
: (T , Bool val)

Parameters

  • x: T
  • y: T

Returns


div_partial[T: _UnsignedInteger[T] val]

[Source]

fun box div_partial[T: _UnsignedInteger[T] val](
  x: T,
  y: T)
: T ?

Parameters

  • x: T
  • y: T

Returns

  • T ?

rem_partial[T: _UnsignedInteger[T] val]

[Source]

fun box rem_partial[T: _UnsignedInteger[T] val](
  x: T,
  y: T)
: T ?

Parameters

  • x: T
  • y: T

Returns

  • T ?

divrem_partial[T: _UnsignedInteger[T] val]

[Source]

fun box divrem_partial[T: _UnsignedInteger[T] val](
  x: T,
  y: T)
: (T , T) ?

Parameters

  • x: T
  • y: T

Returns

  • (T , T) ?

add_partial[T: (Integer[T] val & (I8 val | I16 val | I32 val | I64 val | I128 val | ILong val | ISize val | U8 val | U16 val | U32 val | U64 val | U128 val | ULong val | USize val))]

[Source]

fun box add_partial[T: (Integer[T] val & (I8 val | I16 val | I32 val | 
    I64 val | I128 val | ILong val | 
    ISize val | U8 val | U16 val | 
    U32 val | U64 val | U128 val | 
    ULong val | USize val))](
  x: T,
  y: T)
: T ?

Parameters

  • x: T
  • y: T

Returns

  • T ?

sub_partial[T: (Integer[T] val & (I8 val | I16 val | I32 val | I64 val | I128 val | ILong val | ISize val | U8 val | U16 val | U32 val | U64 val | U128 val | ULong val | USize val))]

[Source]

fun box sub_partial[T: (Integer[T] val & (I8 val | I16 val | I32 val | 
    I64 val | I128 val | ILong val | 
    ISize val | U8 val | U16 val | 
    U32 val | U64 val | U128 val | 
    ULong val | USize val))](
  x: T,
  y: T)
: T ?

Parameters

  • x: T
  • y: T

Returns

  • T ?

mul_partial[T: (Integer[T] val & (I8 val | I16 val | I32 val | I64 val | I128 val | ILong val | ISize val | U8 val | U16 val | U32 val | U64 val | U128 val | ULong val | USize val))]

[Source]

fun box mul_partial[T: (Integer[T] val & (I8 val | I16 val | I32 val | 
    I64 val | I128 val | ILong val | 
    ISize val | U8 val | U16 val | 
    U32 val | U64 val | U128 val | 
    ULong val | USize val))](
  x: T,
  y: T)
: T ?

Parameters

  • x: T
  • y: T

Returns

  • T ?

eq

[Source]

fun box eq(
  that: _UnsignedPartialArithmetic val)
: Bool val

Parameters

Returns


ne

[Source]

fun box ne(
  that: _UnsignedPartialArithmetic val)
: Bool val

Parameters

Returns