W3cubDocs

/Pony

_SignedArithmetic

[Source]

primitive val _SignedArithmetic

Constructors

create

[Source]

new val create()
: _SignedArithmetic val^

Returns

Public Functions

fld[T: (SignedInteger[T, U] val & (I8 val | I16 val | I32 val | I64 val | I128 val | ILong val | ISize val)), U: UnsignedInteger[U] val]

[Source]

fun box fld[T: (SignedInteger[T, U] val & (I8 val | I16 val | I32 val | 
    I64 val | I128 val | ILong val | 
    ISize val)), U: UnsignedInteger[U] val](
  x: T,
  y: T)
: T

Parameters

  • x: T
  • y: T

Returns

  • T

mod[T: (SignedInteger[T, U] val & (I8 val | I16 val | I32 val | I64 val | I128 val | ILong val | ISize val)), U: UnsignedInteger[U] val]

[Source]

fun box mod[T: (SignedInteger[T, U] val & (I8 val | I16 val | I32 val | 
    I64 val | I128 val | ILong val | 
    ISize val)), U: UnsignedInteger[U] val](
  x: T,
  y: T)
: T

Parameters

  • x: T
  • y: T

Returns

  • T

eq

[Source]

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

Parameters

Returns

ne

[Source]

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

Parameters

Returns

© 2016-2018, The Pony Developers
© 2014-2015, Causality Ltd.
Licensed under the BSD 2-Clause License.
https://stdlib.ponylang.io/builtin-_SignedArithmetic