Trevor Spiteri
e94aa46eb8
add lerp and and its friends to release notes
2021-10-12 21:25:07 +02:00
Trevor Spiteri
6f0b2be3c5
depend on typenum 1.14, remove direct 'static constraint from LeEqU*
2021-09-03 17:47:08 +02:00
Trevor Spiteri
3e8681b41d
version 1.10.0
2021-08-23 21:01:09 +02:00
Trevor Spiteri
70cfdac097
implement {Rem,RemAssign}<NonZeroI> for all FixedI
2021-08-19 18:26:12 +02:00
Trevor Spiteri
bb71f39727
release notes style nit
2021-08-19 14:29:45 +02:00
Trevor Spiteri
536285d6eb
depend on rustc 1.53.0
2021-08-19 13:59:09 +02:00
Trevor Spiteri
e84d6e95f3
implement {Div,DivAssign,Rem,RemAssign}<NonZero> for all FixedU
2021-08-19 13:37:56 +02:00
Trevor Spiteri
b29f3d15ce
reference issues 37 and 31 in release notes
2021-08-17 12:30:14 +02:00
Trevor Spiteri
7177a60a92
depend on rustc 1.52.0
2021-08-17 11:08:35 +02:00
Trevor Spiteri
b69584f007
implement Arbitrary
2021-08-17 10:50:22 +02:00
Trevor Spiteri
0ff3872d76
version 1.9.0
2021-05-13 14:50:38 +02:00
Trevor Spiteri
21933448b3
add FixedEquiv trait
2021-05-09 11:34:44 +02:00
Trevor Spiteri
fc435118cf
rename distance -> dist
2021-05-06 14:59:46 +02:00
Trevor Spiteri
aadbcaceb3
add Fixed::get_{signed,unsigned}{,_mut}
2021-05-05 19:49:21 +02:00
Trevor Spiteri
3375450767
fix release notes links
2021-05-04 23:36:17 +02:00
Trevor Spiteri
2284f817b5
add distance methods
2021-05-04 23:27:38 +02:00
Trevor Spiteri
0c30d961d4
tweaks previous commit
2021-04-24 21:01:19 +02:00
Trevor Spiteri
f4a0f6bb10
hexadecimal Debug formatting
2021-04-24 20:12:00 +02:00
Trevor Spiteri
a97539c0aa
Debug impl for {Wrapping,Unwrapped} outputs value only
2021-04-24 18:11:44 +02:00
Trevor Spiteri
7af589f5c2
tweaks in release notes
2021-04-24 16:29:16 +02:00
Trevor Spiteri
e29ef2b677
add Fixed::{Signed,Unsigned}
2021-04-23 01:46:23 +02:00
Trevor Spiteri
cb0f7c7904
add is_zero method
2021-04-23 00:06:23 +02:00
Trevor Spiteri
2866af5915
always implement bytemuck traits: not an optional feature
2021-04-21 17:18:00 +02:00
Trevor Spiteri
60ed86a1ec
use -Z rustdoc-map when building docs
2021-04-21 16:46:31 +02:00
Trevor Spiteri
6d13c707aa
add bytemuck feature
2021-04-21 13:01:55 +02:00
Trevor Spiteri
96c5292daf
version 1.8.0
2021-04-20 22:12:16 +02:00
Trevor Spiteri
353ece484e
reflow some docs
2021-04-20 12:57:09 +02:00
Trevor Spiteri
276c5d4f59
add mul_acc methods
2021-04-16 16:14:12 +02:00
Trevor Spiteri
49422dc9f1
constify unwrapped_div_int
2021-04-15 17:42:32 +02:00
Trevor Spiteri
89d5a9e8db
make unwrapped_rem{,_euclid} const fn, remove const_rem
2021-04-15 17:19:28 +02:00
Trevor Spiteri
e6ed2775e9
constify no_frac div and rem functions
2021-04-07 18:19:43 +02:00
Trevor Spiteri
b64cbc3da9
remove const_* methods that have an equivalent wrapping_*
2021-04-07 13:45:27 +02:00
Trevor Spiteri
856ea398a9
add const_* methods
2021-04-07 13:33:55 +02:00
Trevor Spiteri
deb5ddf099
add saturating_{div,rem}_euclid_int methods
2021-04-03 11:24:28 +02:00
Trevor Spiteri
3794dec03d
add ZERO, DELTA, ONE constants
2021-04-02 21:02:31 +02:00
Trevor Spiteri
92de6c24e6
apply must_use attribute to many methods
2021-04-02 12:09:04 +02:00
Trevor Spiteri
fda6dc1f70
add unwrapped_rem{,_euclid,_int} methods
2021-03-28 10:03:25 +02:00
Trevor Spiteri
2d146ccb75
version 1.7.0
2021-03-25 17:15:07 +01:00
Trevor Spiteri
05c5f398cf
replace midpoint with mean
...
midpoint makes more sense for integers, where it would be used for
example to find the midpoint in a binary search. With floating-point
and fixed-point numbers, it makes more sense to talk about mean.
2021-03-21 19:23:31 +01:00
Trevor Spiteri
94f5042bf1
nits
2021-03-20 22:49:17 +01:00
Trevor Spiteri
fa1cecc104
add highest_one method
2021-03-20 22:15:37 +01:00
Trevor Spiteri
6187d714ab
add IS_SIGNED associated constant
2021-03-20 15:41:50 +01:00
Trevor Spiteri
9b3475d59e
add 4 constants: SQRT_PI, FRAC_1_SQRT_PI, SQRT_E, SQRT_PHI
2021-03-20 11:18:04 +01:00
Trevor Spiteri
5dcae6396c
add 4 constants: SQRT_3, FRAC_1_SQRT_3, GAMMA, CATALAN
2021-03-18 13:01:39 +01:00
Trevor Spiteri
2b2e8d6256
nits
2021-03-17 19:11:18 +01:00
Trevor Spiteri
9330cf2e00
add midpoint
2021-03-17 17:40:10 +01:00
Trevor Spiteri
84edccb925
add significant_bits and signed_bits
2021-03-17 14:35:46 +01:00
Trevor Spiteri
4707482970
make Sum and Product supertraits of Fixed
2021-03-04 13:59:01 +01:00
Trevor Spiteri
f6918a36be
f16 feature no longer optional
2021-03-04 13:08:25 +01:00
Trevor Spiteri
bca7c18a7a
az feature no longer optional
2021-03-04 12:42:17 +01:00