FLINT3.7.0-dev

dfloat_is_supported

Synopsis#include <flint/dfloat.h>
int dfloat_is_supported(void)source

Returns whether the module works on this target. It requires that the module was compiled without contraction of floating-point expressions (-ffp-contract=off or the equivalent pragma), with doubles evaluated in double precision (FLT_EVAL_METHOD 0, so not with x87 arithmetic), and that fma is correctly rounded, which is tested once at run time. Where it returns 0, the other functions of this module must not be called; gr_ctx_init_dfloat returns GR_UNABLE and the power sums return 0, so that their callers fall back to other code.

Guides#

Cite this page

The FLINT team, “dfloat_is_supported (dfloat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/dfloat/dfloat_is_supported.html (generated 2026-10-20).