flint_malloc
Synopsis
#include <flint/flint.h>void * flint_malloc(size_t size)sourceAllocates size bytes and returns a pointer to them. Throws on failure. With the system malloc a request of 0 bytes may also count as a failure on platforms where malloc(0) returns NULL.
Guides#
- Multiplying integers and polynomials (
fft) - Arithmetic in transform space (
fft_small) - Getting started with fmpz (
fmpz) - The fmpz representation (
fmpz)
Cite this page
The FLINT team, “flint_malloc (flint.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/flint/flint_malloc.html (generated 2026-10-20).
@misc{flint-doc-flint-flint-malloc,
author = {{The FLINT team}},
title = {{flint\_malloc (flint.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/flint/flint_malloc.html},
note = {Generated 2026-10-20}
}