Commit Graph

664 Commits

Author SHA1 Message Date
Trevor Spiteri 60ed86a1ec use -Z rustdoc-map when building docs 2021-04-21 16:46:31 +02:00
Trevor Spiteri e0f99c4713 build dev docs with html root url provided for typenum and bytemuck 2021-04-21 13:43:06 +02:00
Trevor Spiteri 6d13c707aa add bytemuck feature 2021-04-21 13:01:55 +02:00
Trevor Spiteri 0c8d637072 add copyright header to etc/gen-doc-index.sh 2021-04-21 11:06:30 +02:00
Trevor Spiteri 96c5292daf version 1.8.0 2021-04-20 22:12:16 +02:00
Trevor Spiteri b9862422ac tweak const_{not,bitand,bitor,bitxor} examples 2021-04-20 21:44:54 +02:00
Trevor Spiteri 80d5fe0c29 move <code> and </code> to same line 2021-04-20 21:32:49 +02:00
Trevor Spiteri 3c6b4d3574 doc tweaks 2021-04-20 19:06:55 +02:00
Trevor Spiteri 116d041e53 add "see also" to Wrapping and Unwrapped methods and constants 2021-04-20 17:50:19 +02:00
Trevor Spiteri 763820676b add "see also" for trait comments 2021-04-20 17:26:44 +02:00
Trevor Spiteri efbaac69de add line with math exprs to docs for DELTA, MIN and MAX 2021-04-20 16:46:01 +02:00
Trevor Spiteri 57ec630b67 doc: tweak mul_{acc,add} signed overflow avoidance 2021-04-20 16:26:53 +02:00
Trevor Spiteri e4a4c95323 improve top paragraph of top level docs 2021-04-20 16:09:18 +02:00
Trevor Spiteri 353ece484e reflow some docs 2021-04-20 12:57:09 +02:00
Trevor Spiteri 2ca975ee46 update prelude doc 2021-04-20 12:46:36 +02:00
Trevor Spiteri 8ec4adae6c simplify top paragraph of top level docs 2021-04-20 12:22:01 +02:00
Trevor Spiteri d58c99f7b3 macro style tweaks 2021-04-16 21:30:58 +02:00
Trevor Spiteri b2700c7beb checked_mul_acc returns Option<()> instead of Result<(), ()> 2021-04-16 19:31:25 +02:00
Trevor Spiteri 11f5da3abc fmt 2021-04-16 16:32:23 +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 25e4543ed8 be more specific on number of integer bits in wide_mul doc 2021-04-07 22:45:50 +02:00
Trevor Spiteri 3308327646 typo 2021-04-07 22:25:29 +02:00
Trevor Spiteri 826fff7dfe fix README link 2021-04-07 22:17:38 +02:00
Trevor Spiteri ca7c39505d update docs with delta information 2021-04-07 22:13:57 +02:00
Trevor Spiteri e6ed2775e9 constify no_frac div and rem functions 2021-04-07 18:19:43 +02:00
Trevor Spiteri 672646d814 doc tweaks 2021-04-07 17:58:52 +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 1dc6125a4b reorder Cargo.toml 2021-04-07 12:15:54 +02:00
Trevor Spiteri 9a6fac61f2 doc tweak: const block for 0 < x < 0.5, not 0 <= x < 0.5 2021-04-06 14:52:04 +02:00
Trevor Spiteri 7394d361a5 mark compile_fail, should_panic code with rust as well 2021-04-06 14:51:40 +02:00
Trevor Spiteri 2be8cfcd47 doc reordering: ZERO before MIN and MAX 2021-04-06 14:30:37 +02:00
Trevor Spiteri 6f0eab0060 cleaner const_fixed_from_int code 2021-04-03 13:43:46 +02:00
Trevor Spiteri 58d697acf1 improve test coverage for arith.rs 2021-04-03 12:15:08 +02:00
Trevor Spiteri deb5ddf099 add saturating_{div,rem}_euclid_int methods 2021-04-03 11:24:28 +02:00
Trevor Spiteri 50d2644fad link to cordic crate 2021-04-03 00:32:51 +02:00
Trevor Spiteri 4aecd62980 simplify intra-doc links 2021-04-03 00:16:13 +02:00
Trevor Spiteri 91e9d4b1ee use ZERO, DELTA, ONE constants in doc examples 2021-04-02 21:47:37 +02:00
Trevor Spiteri 00fe0d9268 use ZERO, DELTA, ONE constants in code and tests 2021-04-02 21:46:41 +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 e66f6e05a5 use intra-doc links for tuples 2021-03-30 14:39:31 +02:00
Trevor Spiteri 305a9708ca use intra-doc links 2021-03-30 14:26:52 +02:00
Trevor Spiteri 18b90462ce some more track_caller 2021-03-28 10:10:39 +02:00
Trevor Spiteri fda6dc1f70 add unwrapped_rem{,_euclid,_int} methods 2021-03-28 10:03:25 +02:00
Trevor Spiteri 1738c0703d prepare no_frac div/rem functions for const fn 2021-03-28 09:25:40 +02:00
Trevor Spiteri d8d252b989 doc: update docs since now f16 conversions are always provided 2021-03-26 20:05:11 +01:00
Trevor Spiteri 2d146ccb75 version 1.7.0 2021-03-25 17:15:07 +01:00