Merge remote-tracking branch 'upstream/master'
This commit is contained in:
@@ -12,17 +12,39 @@ mod fmodf;
|
||||
mod powf;
|
||||
mod round;
|
||||
mod roundf;
|
||||
mod scalbn;
|
||||
mod scalbnf;
|
||||
mod sqrt;
|
||||
mod sqrtf;
|
||||
mod logf;
|
||||
mod expf;
|
||||
mod floor;
|
||||
mod trunc;
|
||||
mod truncf;
|
||||
mod hypot;
|
||||
mod hypotf;
|
||||
|
||||
pub use self::fabs::fabs;
|
||||
pub use self::fabsf::fabsf;
|
||||
pub use self::fmodf::fmodf;
|
||||
pub use self::powf::powf;
|
||||
pub use self::round::round;
|
||||
pub use self::roundf::roundf;
|
||||
pub use self::scalbnf::scalbnf;
|
||||
pub use self::sqrtf::sqrtf;
|
||||
//mod service;
|
||||
|
||||
pub use self::{
|
||||
fabs::fabs,
|
||||
fabsf::fabsf,
|
||||
fmodf::fmodf,
|
||||
powf::powf,
|
||||
round::round,
|
||||
roundf::roundf,
|
||||
scalbn::scalbn,
|
||||
scalbnf::scalbnf,
|
||||
sqrt::sqrt,
|
||||
sqrtf::sqrtf,
|
||||
logf::logf,
|
||||
expf::expf,
|
||||
floor::floor,
|
||||
trunc::trunc,
|
||||
truncf::truncf,
|
||||
hypot::hypot,
|
||||
hypotf::hypotf,
|
||||
};
|
||||
|
||||
fn isnanf(x: f32) -> bool {
|
||||
x.to_bits() & 0x7fffffff > 0x7f800000
|
||||
|
||||
Reference in New Issue
Block a user