nfloat_atan, nfloat_atan2
Synopsis
#include <flint/nfloat.h>int nfloat_atan(nfloat_ptr res, nfloat_srcptr x, gr_ctx_t ctx)sourceint nfloat_atan2(nfloat_ptr res, nfloat_srcptr y, nfloat_srcptr x, gr_ctx_t ctx)sourceThe arctangent, and the two-argument arctangent . For , atan uses ; atan2 takes the arctangent of the ratio of the smaller and the larger magnitude and adds the octant. .
Guides#
Cite this page
The FLINT team, “nfloat_atan, nfloat_atan2 (nfloat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nfloat/nfloat_atan.html (generated 2026-11-02).
@misc{flint-doc-nfloat-nfloat-atan,
author = {{The FLINT team}},
title = {{nfloat\_atan, nfloat\_atan2 (nfloat.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/nfloat/nfloat_atan.html},
note = {Generated 2026-11-02}
}