ca_asin_logarithm, ca_acos_logarithm, ca_asin_direct, ca_acos_direct, ca_asin, ca_acos
#include <flint/ca.h>Sets res to the principal branch of \operatorname{asin} x or \operatorname{acos} x.
The logarithm versions use \operatorname{asin} x = -i \log(ix + \sqrt{1 - x^2}), the direct versions return the generator of \mathbb{Q}(\operatorname{asin} x), possibly after transforming the argument; simple algebraic arguments give rational multiples of \pi. The inverse cosine is computed as \operatorname{acos} x = \pi/2 - \operatorname{asin} x. ca_asin and ca_acos use the logarithm forms unless CA_OPT_TRIG_FORM is CA_TRIG_DIRECT.
The FLINT team, “ca_asin_logarithm, ca_acos_logarithm, ca_asin_direct, ca_acos_direct, ca_asin, ca_acos (ca.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/ca/ca_asin_logarithm.html (generated 2026-10-20).
@misc{flint-doc-ca-ca-asin-logarithm,
author = {{The FLINT team}},
title = {{ca\_asin\_logarithm, ca\_acos\_logarithm, ca\_asin\_direct, ca\_acos\_direct, ca\_asin, ca\_acos (ca.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/ca/ca_asin_logarithm.html},
note = {Generated 2026-10-20}
}