Tay.Limits (tay v2.0.1)

Copy Markdown View Source

Fixed numeric bounds shared by Tay's formats and runtime.

These constants describe format and runtime limits, not configurable Engine budgets.

Summary

Types

int64()

@type int64() :: -9_223_372_036_854_775_808..9_223_372_036_854_775_807

max_payload_bytes()

@type max_payload_bytes() :: 16_777_216

payload_size()

@type payload_size() :: 0..16_777_216

positive_uint64()

@type positive_uint64() :: 1..18_446_744_073_709_551_615

uint32()

@type uint32() :: 0..4_294_967_295

uint64()

@type uint64() :: 0..18_446_744_073_709_551_615

Functions

group_commit_commands_per_turn()

@spec group_commit_commands_per_turn() :: pos_integer()

int64_max()

@spec int64_max() :: pos_integer()

int64_min()

@spec int64_min() :: neg_integer()

max_payload_bytes()

@spec max_payload_bytes() :: max_payload_bytes()

uint32_max()

@spec uint32_max() :: pos_integer()

uint64_max()

@spec uint64_max() :: pos_integer()