FLINT3.7.0-dev

z_mat22_det_is_negative

Synopsis#include <flint/long_extras.h>
int z_mat22_det_is_negative(slong m11, slong m12, slong m21, slong m22)source

Returns 1 if the determinant m_{11} m_{22} - m_{12} m_{21} is negative and 0 otherwise. The determinant is computed exactly in two words, so there is no overflow for any inputs.

Cite this page

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