implement log10 and log10f

This commit is contained in:
Erik
2018-07-14 00:24:22 -04:00
parent 92ed777f9b
commit 6536807106
5 changed files with 181 additions and 9 deletions

View File

@@ -15,6 +15,8 @@ mod floorf;
mod fmodf;
mod hypot;
mod hypotf;
mod log10;
mod log10f;
mod log2;
mod log2f;
mod logf;
@@ -32,9 +34,9 @@ mod truncf;
pub use self::{
ceilf::ceilf, expf::expf, fabs::fabs, fabsf::fabsf, floor::floor, floorf::floorf, fmodf::fmodf,
hypot::hypot, hypotf::hypotf, 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, 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,
};
fn isnanf(x: f32) -> bool {