| Crates.io | libm-ext |
| lib.rs | libm-ext |
| version | 0.0.2 |
| created_at | 2025-12-19 02:50:13.984344+00 |
| updated_at | 2025-12-21 09:30:40.682001+00 |
| description | An extension to libm providing essential mathematical special functions. |
| homepage | |
| repository | https://github.com/tangxiangong/libm-ext |
| max_upload_size | |
| id | 1994080 |
| size | 32,524 |
use libm_ext::{sinpi, sinpif};
println!("sinpi(1.0) = {}", sinpi(1.0));
println!("sinpif(1.0) = {}", sinpif(1.0));
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)Licensed under either of:
at your option.
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.