Ints

Gleam's Int type represents whole numbers.

Gleam の Int 型は整数を表します。

There are arithmetic and comparison operators for ints, as well as the equality operator which works on all types.

整数型には算術演算子や比較演算子があり、すべての型で使える等価演算子もあります。

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,

Erlang 仮想マシン上で動作する場合、整数型には最大と最小のサイズがありません。JavaScript ランタイムで実行する場合、整数は JavaScript の 64 ビット浮動小数点数で表現されます。

The gleam/int standard library module contains functions for working with ints.

gleam/int 標準ライブラリモジュールには整数を扱う関数が含まれています。