log_domain 0.4.1

Logarithmic representation of floats
Documentation

rust-log-domain

Logarithmic representation of floats for rust.

License

BSD-3-clause

Documentation

Use

  • Include the crate in your rust project by adding
    log_domain = "0.4.1"
    
    to the [dependencies] in your Cargo.toml.
  • The crate contains a struct LogDomain<F> and appropriate implementations for common arithmetic operations. The struct is a newtype to allow zero-cost abstraction.