Yoan Lecoq
1b28e6182d
Add space before triple backticks
2019-09-27 10:53:17 -07:00
Yoan Lecoq
c28e2fe062
Real: Ignore doc tests if Float is disabled
2019-09-27 10:53:17 -07:00
Yoan Lecoq
aaf3c267bd
Real: Run doc-tests only if Float is enabled
2019-09-27 10:53:17 -07:00
Yoan Lecoq
849e2a0b1b
Always enable Real, feature gate Float - Real forwarding
2019-09-27 10:53:17 -07:00
Yoan Lecoq
fec6c3610c
Revive Float+Real in no_std with libm
2019-09-27 10:53:17 -07:00
Josh Stone
d2bf4e04e4
Run cargo fmt
2018-07-12 17:09:22 -07:00
Corey Farwell
4775dee66b
Clarify in the docs that `mul_add` is not always faster.
...
More info:
- https://github.com/rust-lang/rust/issues/49842
- https://github.com/rust-lang/rust/pull/50572
2018-05-20 11:58:10 -04:00
Josh Stone
c848562fcf
Use forwarding macros to implement Float and Real
2018-02-27 16:33:04 -08:00
Josh Stone
e6bb97b3ac
Make `Float` and `Real` depend on the `std` feature
...
We don't have implementations for many of the methods in `no_std`. It's
hostile to external implementors if some trait methods are conditional
on a feature, as that feature could be added by anyone in a dependency
tree. Instead, let's just live without these traits for now.
2018-01-31 15:56:06 -08:00
Yoan Lecoq
1e892e2238
Remove legacy default implementations
2018-01-18 21:32:46 +01:00
Yoan Lecoq
a2337f392b
Document panic cases where T doesn't support NaN
2018-01-18 08:44:05 +01:00
Yoan Lecoq
ddd664ae2b
RealNum -> Real
2018-01-06 15:51:10 +01:00