MCPcopy Create free account
hub / github.com/RustCrypto/utils / from_u128_lt

Method from_u128_lt

ctutils/src/choice.rs:296–305  ·  view source on GitHub ↗
(x: u128, y: u128)

Source from the content-addressed store, hash-verified

294 #[inline]
295 #[must_use]
296 pub const fn from_u128_lt(x: u128, y: u128) -> Self {
297 #[cfg(target_pointer_width = "32")]
298 {
299 Self::from_u128_lt_halves(x, y)
300 }
301 #[cfg(not(target_pointer_width = "32"))]
302 {
303 Self::from_u128_lsb(crate::primitives::bitlt!(x, y, u128::BITS))
304 }
305 }
306
307 #[cfg(any(target_pointer_width = "32", test))]
308 #[inline]

Callers

nothing calls this directly

Calls 1

from_u128_lsbFunction · 0.85

Tested by

no test coverage detected