Skip to content

tud-fop/rust-log-domain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.