FLINT3.7.0-dev

ca_neg

Synopsis#include <flint/ca.h>
void ca_neg(ca_t res, const ca_t x, ca_ctx_t ctx)source

Sets res to -x. The negation of c \infty is (-c) \infty; the other special values are unchanged.

Guides#

Cite this page

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