Skip to main content

core/num/imp/
ppcf128.rs

1/// The IBM extended-precision (double-double) floating-point lang item.
2///
3/// Here we define just the lang item, the public-facing type is defined
4/// in core_arch. It transparently wraps this definition.
5///
6/// The ppcf128 type should only be used on PowerPC targets, but is always defined
7/// for the purpose of doc builds, specifically doc builds in the stdarch repo.
8#[doc(hidden)]
9#[cfg_attr(any(target_arch = "powerpc", target_arch = "powerpc64"), lang = "ppcf128")]
10#[unstable(feature = "num_internals", issue = "none")]
11#[allow(non_camel_case_types, dead_code)]
12#[derive(Debug, Clone, Copy)]
13pub struct ppcf128(u128);