Josh Stone
|
e9fcdb0730
Add FloatConst::{LOG10_2, LOG2_10}
|
5 лет назад |
Josh Stone
|
803f7552e1
Fix the parameter name in the FloatCore::max example
|
5 лет назад |
Mara Bos
|
6e66f2da4c
Provide a default implementation for FloatConst::TAU.
|
5 лет назад |
Mara Bos
|
ea47252ae1
Add the π symbol to the doc comment of PI.
|
5 лет назад |
Mara Bos
|
ad583c2d82
Add the full circle constant τ.
|
5 лет назад |
Christopher Serr
|
cf68e2a47f
Invert the float_impl_libm macro
|
5 лет назад |
Christopher Serr
|
9b021ad781
Update to libm 0.2.0
|
5 лет назад |
Josh Stone
|
c4256bd4df
Don't use libm at all with std
|
5 лет назад |
Yoan Lecoq
|
0547a355ee
Run cargo fmt --all
|
5 лет назад |
Yoan Lecoq
|
b4558d1c49
Make it compile on 1.8.0
|
6 лет назад |
Yoan Lecoq
|
fec6c3610c
Revive Float+Real in no_std with libm
|
6 лет назад |
Sergey "Shnatsel" Davidoff
|
40898e5071
Add comments explaining why transmutes are safe
|
5 лет назад |
Josh Stone
|
d2bf4e04e4
Run cargo fmt
|
7 лет назад |
Corey Farwell
|
4775dee66b
Clarify in the docs that `mul_add` is not always faster.
|
7 лет назад |
Josh Stone
|
6aaff332d3
Explicitly test FloatCore in to_degrees_rounding
|
7 лет назад |
Vinzent Steinberg
|
9ca219c677
Avoid test failure with Rust 1.8 by limiting to no-std builds
|
7 лет назад |
Vinzent Steinberg
|
6430351e74
Use constant for 180/π in f32::to_degrees
|
7 лет назад |
Josh Stone
|
04a3f2a591
Comment the Rust version for NAN.is_sign_* behavior
|
7 лет назад |
Josh Stone
|
080f6f259e
Comment the i32::MIN case for FloatCore::powi
|
7 лет назад |
Josh Stone
|
aa9ceba628
Add doctests to FloatCore
|
7 лет назад |
Josh Stone
|
ec3cd50f3d
Weaken the std f32::to_degrees/to_radians tests
|
7 лет назад |
Josh Stone
|
36c7e324db
Fix FloatCore::powi with i32::MIN exponent
|
7 лет назад |
Josh Stone
|
964a7e52a8
Reinstate NAN-sign fixes in FloatCore
|
7 лет назад |
Josh Stone
|
6fa29be7c0
Use macros for more float constants
|
7 лет назад |
Josh Stone
|
83d498d0be
Add integer_decode to FloatCore
|
7 лет назад |
Josh Stone
|
f365a4205f
Add rounding methods to FloatCore
|
7 лет назад |
Josh Stone
|
99c6cc11ba
Add more constants to FloatCore
|
7 лет назад |
Josh Stone
|
7d6575da0f
Add NumCast to FloatCore, matching Float
|
7 лет назад |
Josh Stone
|
ac503261ca
Forward FloatCore to inherent methods when possible
|
7 лет назад |
Josh Stone
|
c848562fcf
Use forwarding macros to implement Float and Real
|
7 лет назад |