num-traits/src
Josh Stone a4d234c253 Further simplify float-to-int range checks
We don't actually need to compute the `trunc()` value, as long as we can
figure out the right values for the exclusive range `(MIN-1, MAX+1)` to
measure the same truncation effect.
2018-03-13 13:38:17 -07:00
..
ops Fix doc tests. 2018-02-27 13:25:53 -05:00
bounds.rs Re-introduce the std feature 2018-01-31 15:42:55 -08:00
cast.rs Further simplify float-to-int range checks 2018-03-13 13:38:17 -07:00
float.rs Comment the Rust version for NAN.is_sign_* behavior 2018-02-28 11:43:55 -08:00
identities.rs Add #[inline] to is_one. 2018-02-23 17:44:07 -05:00
int.rs Re-introduce the std feature 2018-01-31 15:42:55 -08:00
lib.rs Use forwarding macros to implement Float and Real 2018-02-27 16:33:04 -08:00
macros.rs allow unused macros 2018-02-27 17:09:43 -08:00
pow.rs Ensure infalliability of conversions, avoid closures. 2018-02-27 14:06:46 -05:00
real.rs Use forwarding macros to implement Float and Real 2018-02-27 16:33:04 -08:00
sign.rs Use more FloatCore in src/sign.rs 2018-02-27 21:50:44 -08:00