Struct aterm::BrokenF32 [] [src]

pub struct BrokenF32(pub f32);

To quote shepmaster (except this is an f32):

Basically, if you want to treat a f64 as a set of bits that have no meaning, well, we can treat them as an equivalently sized bag of bits that know how to be hashed and bitwise-compared. Don't be surprised when one of the 16 million NaN values doesn't equal another one.

Trait Implementations

impl Debug for BrokenF32
[src]

Formats the value using the given formatter.

impl Clone for BrokenF32
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for BrokenF32
[src]

impl Hash for BrokenF32
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl PartialEq for BrokenF32
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for BrokenF32
[src]