Skip to content

v0.37.8

Compare
Choose a tag to compare
@Axect Axect released this 30 Jul 12:03
· 118 commits to master since this release

Release 0.37.8 (2024-07-30)

  • Integrate with lambert_w crate (#63) (Thanks to @JSorngard)
    • Write flexible wrapper for lambert_w

      pub enum LambertWAccuracyMode {
          Simple,   // Faster, 24 bits of accuracy
          Precise,  // Slower, 50 bits of accuracy
      }
      
      pub fn lambert_w0(z: f64, mode: LambertWAccuracyMode) -> f64;
      pub fn lambert_wm1(z: f64, mode: LambertWAccuracyMode) -> f64;
    • Write default Lambert W function for prelude (Precise as default)

      use peroxide::prelude::*;
      
      fn main() {
          lambert_w0(1.0).print(); // Same as fuga::lambert_w0(1.0, LambertWAccuracyMode::Simple)
      }

What's Changed

  • Implement the Lambert W function as a wrapper around the lambert_w crate. by @JSorngard in #63

New Contributors

Full Changelog: v0.37.7...v0.37.8