lnexp 0.2.1

Carefully evaluate compositions of log, exp, log1p and expm1
Documentation
  • Coverage
  • 90.91%
    10 out of 11 items documented9 out of 10 items with examples
  • Size
  • Source code size: 44.61 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.72 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 9s Average build duration of successful builds.
  • all releases: 9s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • andrewjradcliffe/lnexp
    2 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • andrewjradcliffe

lnexp

crate documentation

Usage

Add this to your Cargo.toml:

[dependencies]
lnexp = "0.2"

Description

Provides a trait (LnExp) for floating-point types to perform careful evaluation of compositions of ln, ln_1p, exp and exp_m1. Implementations are provided for f64 and f32; see the documentation for details. The most common domain in which such compositions appear is statistical computing, but the advantages afforded by the implementations are neither specific nor limited to such a domain.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Citations