FLINT3.7.0-dev

fq_default_sqrt

Synopsis#include <flint/fq_default.h>
int fq_default_sqrt(fq_default_t rop, const fq_default_t op1, const fq_default_ctx_t ctx)source

If op1 is a square, sets rop to a square root of it and returns 1. Otherwise returns 0, and the value of rop is unspecified.

Cite this page

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