Basic math facilities.

INumerical

Available since version 1.0 (view source)

not referred automatically

PROTOCOL with method -numerical

A value protocol for objects other than numbers which however have a canonical numerical representation. Types satisfying INumerical protocol must accept their canonical number form in their constructors. Examples of such type is character, instant or UUID.

-numerical

Available since version 1.0 (view source)

not referred automatically

Usage:
  • (-numerical this)

Type signature:
  • (Any) → Number

Returns a numerical value representing this object.

See also: INumerical