Josh Stone
|
e4e52de40f
Fix copysign tests for 1.8.0
|
3 年之前 |
Josh Stone
|
30f8d3ab4b
Make sure test_copysignf uses Float
|
3 年之前 |
XAMPPRocky
|
70b5c579ab
Update float.rs
|
3 年之前 |
XAMPPRocky
|
cabfb0b904
Update float.rs
|
3 年之前 |
XAMPPRocky
|
7ca2456e9c
Update float.rs
|
3 年之前 |
Erin Power
|
64db6c3293
Add copysign
|
4 年之前 |
Alex S
|
cfab8ed81f
Reimplement is_sign_negative as a bitcast, libm not necessary.
|
3 年之前 |
Alex S
|
59a17538b1
Implement is_sign_* and signum methods in terms of libm.
|
3 年之前 |
Josh Stone
|
06fe1e5293
Use libm in Float::{min,max} and in FloatCore
|
4 年之前 |
Josh Stone
|
e9fcdb0730
Add FloatConst::{LOG10_2, LOG2_10}
|
4 年之前 |
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
|
6 年之前 |
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 年之前 |