Overview
Conventions
The rules that all FLINT modules follow: the word types and how objects are declared and passed, the naming of functions and the meaning of a leading underscore, aliasing and normalisation, memory management and caches, the use of threads, and portability between platforms.
In this section#
User guideTypes, naming and aliasingThe word types, how FLINT objects are declared and passed, how functions are named, what the leading underscore means, the aliasing rules and the normalisation of objects.User guideMemory managementInitialising and clearing objects, FLINT's allocation functions, temporary allocation, the caches FLINT keeps and how to free them, and custom allocators.User guideThreadsHow to let FLINT use several threads, which operations are parallelised, the rules for calling FLINT from several threads, and the conventions for writing threaded functions.User guidePortabilityWriting code with FLINT that works on 32-bit and 64-bit platforms and on Windows: word types, constants, printing and the platform-dependent parts of the library.
Referenced from#
- Ball arithmetic (overview)
- Examples & tutorials (overview)
Cite this page
The FLINT team, “Conventions,” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/guide/conventions/index.html (generated 2026-10-20).
@misc{flint-doc-guide-conventions-index,
author = {{The FLINT team}},
title = {{Conventions}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/guide/conventions/index.html},
note = {Generated 2026-10-20}
}