ca_mul_fmpq, ca_mul_fmpz, ca_mul_ui, ca_mul_si, ca_mul
Synopsis
#include <flint/ca.h>Sets res to x y.
For special values:
- c \infty \cdot d \infty = (c d) \infty;
- \tilde \infty \cdot \tilde \infty = \tilde \infty \cdot c \infty = \tilde \infty;
- c \infty \cdot z = (c \operatorname{sgn}(z)) \infty and \tilde \infty \cdot z = \tilde \infty if z \ne 0;
- c \infty \cdot 0 and \tilde \infty \cdot 0 are Undefined;
- Undefined times any value is Undefined; otherwise Unknown times any value is Unknown.
When it cannot be decided whether z = 0, the product of z and an infinity is Unknown.
Guides#
Cite this page
The FLINT team, “ca_mul_fmpq, ca_mul_fmpz, ca_mul_ui, ca_mul_si, ca_mul (ca.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/ca/ca_mul_fmpq.html (generated 2026-10-20).
@misc{flint-doc-ca-ca-mul-fmpq,
author = {{The FLINT team}},
title = {{ca\_mul\_fmpq, ca\_mul\_fmpz, ca\_mul\_ui, ca\_mul\_si, ca\_mul (ca.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/ca/ca_mul_fmpq.html},
note = {Generated 2026-10-20}
}