blob: 32a7aa8372a21a8907eedf28517f7d7b8b525513 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<p>
Gleam's <code>Int</code> type represents whole numbers.
</p>
<p>
There are arithmetic and comparison operators for ints.
</p>
<p>
When running on the Erlang virtual machine ints have no maximum and minimum
size. When running on JavaScript runtimes ints are represented using
JavaScript's 64 bit floating point numbers,
</p>
<p>
The <a href="https://hexdocs.pm/gleam_stdlib/gleam/int.html"><code>gleam/int</code></a>
standard library module contains functions for working with ints.
</p>
|