libm-ext 0.0.2

An extension to libm providing essential mathematical special functions.
Documentation
  • Coverage
  • 88.89%
    8 out of 9 items documented1 out of 8 items with examples
  • Size
  • Source code size: 31.9 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.56 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 15s Average build duration of successful builds.
  • all releases: 15s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • tangxiangong/libm-ext
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • tangxiangong

Usage

use libm_ext::{sinpi, sinpif};

println!("sinpi(1.0) = {}", sinpi(1.0));
println!("sinpif(1.0) = {}", sinpif(1.0));

Trigonometric functions

  • sinpi / sinpif for $\sin(\pi x)$ (f64 / f32)
  • cospi / cospif for $\cos(\pi x)$ (f64 / f32)
  • sincospi / sincospif for $\sin(\pi x)$ and $\cos(\pi x)$ (f64 / f32)

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.