implement log1p and log1pf

This commit is contained in:
Erik
2018-07-14 01:28:00 -04:00
parent ed51aa3a97
commit f73c61b762
5 changed files with 246 additions and 8 deletions

View File

@@ -18,6 +18,8 @@ mod hypotf;
mod log;
mod log10;
mod log10f;
mod log1p;
mod log1pf;
mod log2;
mod log2f;
mod logf;
@@ -35,9 +37,9 @@ mod truncf;
pub use self::{
ceilf::ceilf, expf::expf, fabs::fabs, fabsf::fabsf, floor::floor, floorf::floorf, fmodf::fmodf,
hypot::hypot, hypotf::hypotf, log::log, log10::log10, log10f::log10f, log2::log2, log2f::log2f,
logf::logf, powf::powf, round::round, roundf::roundf, scalbn::scalbn, scalbnf::scalbnf,
sqrt::sqrt, sqrtf::sqrtf, trunc::trunc, truncf::truncf,
hypot::hypot, hypotf::hypotf, log::log, log10::log10, log10f::log10f, log1p::log1p,
log1pf::log1pf, log2::log2, log2f::log2f, logf::logf, powf::powf, round::round, roundf::roundf,
scalbn::scalbn, scalbnf::scalbnf, sqrt::sqrt, sqrtf::sqrtf, trunc::trunc, truncf::truncf,
};
fn isnanf(x: f32) -> bool {