Commit Graph

187 Commits

Author SHA1 Message Date
Trevor Spiteri bcdd6d5d41 implement more num-traits traits 2020-10-20 16:02:43 +02:00
Trevor Spiteri 8313677cb8 make serde-str more convenient 2020-10-20 12:10:49 +02:00
Trevor Spiteri 27914b9a03 link to fixed-macro in doc 2020-10-19 10:37:29 +02:00
Trevor Spiteri a0a0a2a770 version 1.3.0 2020-10-15 18:48:04 +02:00
Trevor Spiteri b41bc7b33b deserialize to String instead of &str for serde-str
This is because for example serde-xml-rs cannot deserialize a string
into a borrowed string.

This also makes serde-str depend on the std feature.
2020-10-09 18:11:40 +02:00
Trevor Spiteri 197650872d add serde-str experimental feature 2020-10-09 14:41:10 +02:00
Trevor Spiteri a0ea3f2c60 loosen Rhs constraint on MulAssign 2020-09-22 19:09:41 +02:00
Trevor Spiteri 0aa8af089f add mul_add to Wrapping and Unwrapped 2020-09-22 17:20:13 +02:00
Trevor Spiteri 03436b19b5 typo 2020-09-22 15:47:29 +02:00
Trevor Spiteri a3d947776d add mul_add methods 2020-09-22 15:47:13 +02:00
Trevor Spiteri 7a03bd6364 add unwrapped experimental feature 2020-09-17 16:58:26 +02:00
Trevor Spiteri 1b5a5b39ae version 1.2.0 2020-09-02 13:50:04 +02:00
Trevor Spiteri d112d55e21 Revert "require rustc 1.46"
This reverts commit 5a4d1a6732.
2020-09-02 13:03:23 +02:00
Trevor Spiteri 5a4d1a6732 require rustc 1.46 2020-09-02 10:14:04 +02:00
Trevor Spiteri f95c76651a add const_fixed_from_int! macro 2020-08-28 18:27:23 +02:00
Trevor Spiteri 5b911fc62c version 1.1.0 2020-07-21 08:42:56 +02:00
Trevor Spiteri 2351e9a4c8 document num-traits experimental feature in release notes 2020-07-16 12:37:46 +02:00
Trevor Spiteri edbec7062a add experimental feature num-traits 2020-07-13 15:19:15 +02:00
Trevor Spiteri fcdd018240 version 1.0.0 2020-06-04 18:59:55 +02:00
Trevor Spiteri ef36b4f767 make {from,to}_{be,le,ne}_bytes const functions 2020-06-04 18:18:01 +02:00
Trevor Spiteri cd8ee00eac Merge branch 'v0.5' 2020-05-11 20:20:02 +02:00
Trevor Spiteri 2bfc804c4d version 0.5.7 2020-05-11 20:13:11 +02:00
Trevor Spiteri 1eca782f60 add wrapping_next_power_of_two 2020-05-11 19:57:42 +02:00
Trevor Spiteri 8227ae5dd7 add leading_ones and trailing_ones 2020-05-11 19:55:35 +02:00
Trevor Spiteri 694ae24d77 add LosslessTry{From,Into} and immplement them for Fixed <-> Fixed 2020-05-11 19:52:59 +02:00
Trevor Spiteri 5cb690a076 fix typos in tests and release notes 2020-05-11 19:49:12 +02:00
Trevor Spiteri b22a08b66f add golden ratio and its conjugate to constants 2020-05-11 19:42:47 +02:00
Trevor Spiteri 1b95649362 tweak wording on version 2 plan 2020-05-11 19:39:37 +02:00
Trevor Spiteri c13ab2e324 add wrapping_next_power_of_two 2020-05-10 01:13:24 +02:00
Trevor Spiteri dfb59cefc0 add leading_ones and trailing_ones 2020-05-10 01:09:41 +02:00
Trevor Spiteri bc5e01120f add LosslessTry{From,Into} and immplement them for Fixed <-> Fixed 2020-05-08 12:41:35 +02:00
Trevor Spiteri eebb76e7b0 fix typos in tests and release notes 2020-05-08 00:37:14 +02:00
Trevor Spiteri 37167fddd0 add golden ratio and its conjugate to constants 2020-05-07 23:36:35 +02:00
Trevor Spiteri ff0874a1f4 require rustc 1.43.0
Will probably bump requirement to 1.44.0 before releasing 1.0.0 so
that {from,to}_{le,be,ne}_bytes can be const fn.
2020-05-03 16:08:11 +02:00
Trevor Spiteri 48a763c01f tweak wording on version 2 plan 2020-05-02 21:22:46 +02:00
Trevor Spiteri 879861b875 remove deprecated items 2020-05-01 18:28:17 +02:00
Trevor Spiteri 079a13ca1b version 0.5.6 2020-05-01 18:15:40 +02:00
Trevor Spiteri 86b542e7f3 add Lossy{From,Into} to prelude 2020-05-01 17:40:53 +02:00
Trevor Spiteri 0adbf4435e at least one more release before 1.0.0 to deprecate items 2020-04-18 19:28:05 +02:00
Trevor Spiteri 672973c99f Revert "remove deprecated items"
This reverts commit f67aed0078.
2020-04-18 19:13:08 +02:00
Trevor Spiteri 74f0e4f575 add checked versions of signum 2020-04-18 18:15:22 +02:00
Trevor Spiteri 339bd1f5aa specify version 2 when talking about const generics plan 2020-04-18 02:29:04 +02:00
Trevor Spiteri f67aed0078 remove deprecated items 2020-04-18 02:21:17 +02:00
Trevor Spiteri 6f06c9f13d add missing link 2020-04-16 23:54:26 +02:00
Trevor Spiteri 97d4e1a326 version 0.5.5 2020-04-16 23:29:50 +02:00
Trevor Spiteri 289f4b1697 add constants in consts module as associated constants 2020-04-16 23:08:29 +02:00
Trevor Spiteri 5db3b17284 fix comparison of e.g. I0F16 with +0.5 2020-04-16 21:19:30 +02:00
Trevor Spiteri 4c25f002a1 update copyright date 2020-04-13 20:11:39 +02:00
Trevor Spiteri a32b56ab43 add int_log10 and checked_int_log10 2020-04-13 03:17:21 +02:00
Trevor Spiteri 919519fea1 doc nits 2020-04-13 00:27:42 +02:00