Commit Graph

637 Commits

Author SHA1 Message Date
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
Trevor Spiteri d73ee646d6 fix awk regex 2021-03-24 10:40:00 +01:00
Trevor Spiteri 8756c0929a use awk with no gnu extensions in doc index generation 2021-03-24 10:05:44 +01:00
Trevor Spiteri 5fce801579 use gawk not awk in doc index generation 2021-03-24 09:49:08 +01:00
Trevor Spiteri c0e621438d do not use awk -i in doc index generation 2021-03-24 09:44:19 +01:00
Trevor Spiteri 5154c05b7b update dev documentation index page 2021-03-23 17:50:54 +01:00
Trevor Spiteri 68970be469 annotate unwrapped methods (and fns they call) with track_caller 2021-03-23 14:56:47 +01:00
Trevor Spiteri 387bc69eb2 move some files to new etc directory 2021-03-23 11:05:35 +01:00
Trevor Spiteri 2574fcdf73 simplify IntHelper 2021-03-23 10:41: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 3cd0053e62 doc tweaks 2021-03-20 22:49:07 +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 6841baee6e doc nit 2021-03-18 11:47:16 +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 ded2181d74 Revert "temporarily wark around rustdoc beta test ICE"
This reverts commit a53735b8cc.
2021-03-12 17:24:57 +01:00
Trevor Spiteri a53735b8cc temporarily wark around rustdoc beta test ICE 2021-03-04 14:10:26 +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
Trevor Spiteri 59b5f02cfd add F128Bits 2021-03-04 11:59:37 +01:00
Trevor Spiteri c6ffbe04d0 update doc examples for some mul_add checked variants 2021-02-25 20:05:51 +01:00
Trevor Spiteri 5bcd89878f ci: check mul_add 2021-02-25 19:54:28 +01:00