The ends of the engine's integer and float types, in one place for the SQL
modules of InfluxElixir.Client.Local.
The macros expand to the literal, so they may stand in a pattern or a
guard (require or import this module first):
defp f(int64_min()), do: ...
defp g(n) when n > uint64_max(), do: ...
Summary
Functions
The largest finite Float64.
The largest Int64.
The smallest Int64.
Whether the value is an integer an Int64 holds.
Whether the value is an integer a UInt64 holds.
The largest UInt64.
The integer, wrapped into Int64's range as two's complement arithmetic does.
The integer, wrapped into UInt64's range.
Functions
@spec float_max() :: float()
The largest finite Float64.
@spec int64_max() :: 9_223_372_036_854_775_807
The largest Int64.
@spec int64_min() :: -9_223_372_036_854_775_808
The smallest Int64.
Whether the value is an integer an Int64 holds.
Whether the value is an integer a UInt64 holds.
@spec uint64_max() :: 18_446_744_073_709_551_615
The largest UInt64.
The integer, wrapped into Int64's range as two's complement arithmetic does.
@spec wrap_uint64(integer()) :: non_neg_integer()
The integer, wrapped into UInt64's range.