API Reference numbers v5.2.4
Modules
Allows you to use arithmetical operations on any type that implements the proper protocols.
Helper functions that might make the implementation of Numbers for your own numberlike types easier.
A set of protocols that can be implemented for your data structure, to add Numbers
-support to it.
For supporting Numbers.abs/1
.
For supporting Numbers.add/2
.
For supporting Numbers.div/2
.
For supporting Numbers.pow/2
.
For supporting Numbers.minus/1
.
For supporting Numbers.mult/2
.
For supporting Numbers.sub/2
.
For supporting Numbers.to_float/1
.