FLINT3.7.0-dev

gr_exp_pi_i

Synopsis#include <flint/gr_special.h>
int gr_exp_pi_i(gr_ptr res, gr_srcptr x, gr_ctx_t ctx)source

Sets res to e^{\pi i x}. For rational x this is a root of unity, computed exactly by qqbar.

Guides#

Cite this page

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