abla/core

Generated from source.

Import with import "abla/core".

Source: abla/core/entry.ab

int.abs (extension fun)

fun int.abs: int

Returns the magnitude of this integer. The smallest signed integer wraps to itself.

int.sign (extension fun)

fun int.sign: int

Returns -1 for a negative integer, 0 for zero, and 1 for a positive integer.

Built from Abla v0.2.79 source ba5d6b7d. Examples and generated signatures follow that source revision.