Struct ppcf128

pub struct ppcf128(pub(in ::core_arch::powerpc) u128);

The IBM extended-precision (double-double) floating-point type.

Fields

0: u128

Implementations

impl ppcf128

const fn to_ne_bytes(self) -> [u8; 16]

Returns the memory representation of this floating point number as a byte array in native byte order.

const fn to_components(self) -> (f64, f64)

Returns the large and small component of this floating point number.

Trait Implementations

impl Clone for ppcf128

fn clone(&self) -> Self

impl Copy for ppcf128

impl Debug for ppcf128

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl TrivialClone for ppcf128

Auto Trait Implementations

impl Freeze for ppcf128

impl RefUnwindSafe for ppcf128

impl Send for ppcf128

impl Sync for ppcf128

impl Unpin for ppcf128

impl UnsafeUnpin for ppcf128

impl UnwindSafe for ppcf128

Blanket Implementations

impl<T> Any for ppcf128 where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for ppcf128 where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for ppcf128 where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for ppcf128 where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for ppcf128

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Printable for ppcf128 where T: Copy + Debug,

impl<T> SizeHint for ppcf128 where T: ?Sized,

fn lower_bound(&self) -> usize
fn upper_bound(&self) -> Option<usize>

impl<T> SizedTypeProperties for ppcf128

impl<T, U> Into<U> for ppcf128 where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for ppcf128 where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for ppcf128 where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>