Trevor Spiteri
c90c9aa07d
typo
2019-10-10 17:44:43 +02:00
Trevor Spiteri
b6c1974401
clippy
2019-10-10 17:19:10 +02:00
Trevor Spiteri
cfe198f087
document and test az option
2019-10-10 17:13:36 +02:00
Trevor Spiteri
d6c634c915
make az support optional
2019-10-10 17:13:27 +02:00
Trevor Spiteri
019c1eeb23
add az support
2019-10-10 16:47:10 +02:00
Trevor Spiteri
3248e354ba
version 0.4.5
2019-08-30 22:32:17 +02:00
Trevor Spiteri
687a5521a7
Wrapping nits
2019-08-30 21:55:26 +02:00
Trevor Spiteri
e5afe1d6a4
add more tests in {display,from_str}.rs
2019-08-30 21:30:40 +02:00
Trevor Spiteri
1960c702c6
remove unnecessary helper methods
2019-08-30 21:28:19 +02:00
Trevor Spiteri
55a58bf795
typos
2019-08-30 13:01:42 +02:00
Trevor Spiteri
a4c3fdeeed
add methods to Wrapping
2019-08-30 12:48:31 +02:00
Trevor Spiteri
e31802dd23
some more display/from_str tests
2019-08-29 22:30:56 +02:00
Trevor Spiteri
24f197b930
remove unnecessary macros
2019-08-29 17:24:36 +02:00
Trevor Spiteri
75df9749ff
add compare_frac17_float test
2019-08-29 14:20:56 +02:00
Trevor Spiteri
1a81cef6eb
improve test for previous commit
2019-08-29 12:38:22 +02:00
Trevor Spiteri
f314735cc9
bug fix: decimal display panics or includes leading zero
2019-08-29 11:50:18 +02:00
Trevor Spiteri
de6ecb5782
add Wrapping::round_ties_to_even
2019-08-29 10:12:17 +02:00
Trevor Spiteri
0711850c26
doc nits
2019-08-26 11:10:07 +02:00
Trevor Spiteri
980804b1c7
do not use cfg_attr for clippy allows
2019-08-24 16:35:03 +02:00
Trevor Spiteri
ee98c16b28
simplify ceil_log10_2_times
2019-08-24 16:32:28 +02:00
Trevor Spiteri
06af80c9ed
nits
2019-08-24 14:52:32 +02:00
Trevor Spiteri
50ca556686
version 0.4.4
2019-08-24 13:15:28 +02:00
Trevor Spiteri
82c7781f0e
update README and doc main page
2019-08-24 13:10:49 +02:00
Trevor Spiteri
97e57bad0e
fix unused warning
2019-08-23 14:16:36 +02:00
Trevor Spiteri
c6e0563257
clippy + fmt
2019-08-23 14:06:28 +02:00
Trevor Spiteri
72f619b757
do not use f16::from_{f32,f64} from half crate
2019-08-23 14:03:39 +02:00
Trevor Spiteri
348463d204
state aims at top of documentation
2019-08-23 10:03:59 +02:00
Trevor Spiteri
e24a0963f6
add Frac type to Fixed trait
2019-08-22 19:30:52 +02:00
Trevor Spiteri
3292a2da26
some minor doc improvements
2019-08-22 14:26:08 +02:00
Trevor Spiteri
87d30cd8b1
reorder some methods
2019-08-22 14:03:32 +02:00
Trevor Spiteri
9e333d99c2
add round_to_zero
2019-08-22 13:39:51 +02:00
Trevor Spiteri
7d08654e0a
cleaner rounding examples
2019-08-22 13:04:39 +02:00
Trevor Spiteri
0eade78071
add round_ties_to_even and checked variants
2019-08-22 13:01:28 +02:00
Trevor Spiteri
b3796a46f0
make is_power_of_two a const fn
2019-08-21 22:15:36 +02:00
Trevor Spiteri
696361a8fa
macro formatting
2019-08-21 16:57:52 +02:00
Trevor Spiteri
381af22e96
make {,wrapping_,overflowing_}abs const
2019-08-21 15:46:24 +02:00
Trevor Spiteri
895d59611d
fix and expand rounding test
2019-08-21 15:45:55 +02:00
Trevor Spiteri
ba594f24e1
document bug fix in release notes
2019-08-21 13:30:49 +02:00
Trevor Spiteri
08fc9881e5
make display code clearer
2019-08-21 13:02:43 +02:00
Trevor Spiteri
8176a36a95
version 0.4.3
2019-08-20 19:40:53 +02:00
Trevor Spiteri
f423fe0159
impl {Shl,Shr}{,Assign}<all primitives> for Wrapping
2019-08-20 17:07:13 +02:00
Trevor Spiteri
184eaddfc0
reduce number of times examples are tested in CI
2019-08-20 16:46:39 +02:00
Trevor Spiteri
fa271a4a9d
doc updates
2019-08-20 16:42:37 +02:00
Trevor Spiteri
46049bb7ac
tweak consts example
2019-08-20 15:31:39 +02:00
Trevor Spiteri
0b4dac8d33
reorganize modules
2019-08-20 15:30:23 +02:00
Trevor Spiteri
96107159f5
some cleanups in tests inside display.rs
2019-08-20 01:18:22 +02:00
Trevor Spiteri
daa600bb71
properly handle precision in Display
2019-08-19 23:53:43 +02:00
Trevor Spiteri
2d5a5c3ada
properly handle precision in Binary, Octal, LowerHex, UpperHex
2019-08-19 18:49:40 +02:00
Trevor Spiteri
76a0abe468
relax some trait bounds in Wrapping
...
* Now bitwise and shifting operations do not require F: Fixed, only
F: Op. For example
impl BitAnd<Wrapping<F>> for Wrapping<F>
is now bound by
where F: BitAnd<F, Output = F>
instead of
where F: Fixed
* Also multiplication and division by integers do not require Frac
bounds. For example
impl Mul<i8> for Wrapping<FixedI8<Frac>>
now has no bounds on Frac, instead of being bound by
where Frac: LeEqU8
2019-08-19 14:15:06 +02:00
Trevor Spiteri
a501829cc6
change rhs type of Wrapping shift operators from usize to u32
2019-08-19 13:18:54 +02:00