Content-Length: 6313 | pFad | https://doc.rust-lang.org/stable/std/rc/../../std/net/../../std/intrinsics/fn.disjoint_bitor.html

disjoint_bitor in std::intrinsics - Rust

disjoint_bitor

Function disjoint_bitor 

Source
pub const unsafe fn disjoint_bitor<T>(a: T, b: T) -> T
where T: DisjointBitOr,
🔬This is a nightly-only experimental API. (core_intrinsics)
Expand description

Combine two values which have no bits in common.

This allows the backend to implement it as a + b or a | b, depending which is easier to implement on a specific target.

§Safety

Requires that (a & b) == 0, or equivalently that (a | b) == (a + b).

Otherwise it’s immediate UB.









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://doc.rust-lang.org/stable/std/rc/../../std/net/../../std/intrinsics/fn.disjoint_bitor.html

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy