We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1d8a49 commit 4009096Copy full SHA for 4009096
libm/src/math/support/modular.rs
@@ -1,5 +1,9 @@
1
/* SPDX-License-Identifier: MIT OR Apache-2.0 */
2
3
+//! This module provides accelerated modular multiplication by large powers
4
+//! of two, which is needed for computing floating point remainders in `fmod`
5
+//! and similar functions.
6
+//!
7
//! To keep the equations somewhat concise, the following conventions are used:
8
//! - all integer operations are in the mathematical sense, without overflow
9
//! - concatenation means multiplication: `2xq = 2 * x * q`
0 commit comments