37 Commits

Author SHA1 Message Date
Laurenz
08870d4a4c Clearer error messages for failed comparisons
Fixes #1231
2023-05-22 13:06:33 +02:00
Laurenz
551ea99d05 Show default values in documentation
Fixes #169
Fixes #1102
2023-05-17 14:41:46 +02:00
Laurenz
42afa410ae Better documentation outlines 2023-05-17 14:38:03 +02:00
Laurenz
3680c854a2 Touch up docs 2023-04-26 15:37:21 +02:00
HarmoGlace
42b93b7b53
Add quo, trunc and fract calculation methods and rename mod to rem (#890) 2023-04-20 16:09:41 +02:00
Matt Fellenz
f16ac4d258
Add atan2 (#846) 2023-04-19 19:09:32 +02:00
Laurenz
f08ae95b9d Fix argument sinks
Fixes #886.
2023-04-19 17:51:33 +02:00
HarmoGlace
1e934def56
Add gcd and lcm calculation methods (#789) 2023-04-19 16:18:31 +02:00
Marek Barvíř
56673bcdf5
Clippy fixes (#856) 2023-04-18 11:19:09 +02:00
Marek Barvíř
ee32e7ad1c
Clippy fixes (#581) 2023-04-16 11:10:35 +02:00
HarmoGlace
29b36d4876
Fix pow overflow (#784) 2023-04-13 21:08:54 +02:00
Laurenz
9025ecb2ee Better error spans in calc 2023-04-13 15:13:31 +02:00
HarmoGlace
e11bd2a193
Add factorial, permutation and binomial to calculation functions (#639) 2023-04-13 14:38:51 +02:00
Laurenz
e77abf842d Make error messages a bit more consistent 2023-04-04 14:33:43 +02:00
HarmoGlace
4aa5e0a4a3
Make behavior of calculation functions consistent (#515) 2023-04-04 14:33:26 +02:00
Laurenz
e1ecb8cabe Simplify pow function 2023-04-01 23:31:23 +02:00
HarmoGlace
f94bc9a13f
Fix zero power (#511) 2023-04-01 19:45:44 +02:00
Marek Barvíř
5e5b1bba51
Needless clone, borrows, casts and lifetimes (#504) 2023-04-01 15:53:13 +02:00
Sébastien d'Herbais de Thun
9e69a7b161
Allows negative pow (#486) 2023-04-01 14:24:43 +02:00
Laurenz
cb3c263c4a More accurate logarithm for base 2 and 10 2023-03-13 20:10:29 +01:00
Laurenz
62f35602a8 New #[func] macro 2023-03-10 12:55:21 +01:00
Laurenz
25b5bd1175 Fully untyped model 2023-03-07 15:17:13 +01:00
Laurenz
6ab7760822 Split up model module 2023-03-01 16:33:28 +01:00
Laurenz
ea8edfa821 Make Rust happier about the inline documentation 2023-02-06 11:52:09 +01:00
Laurenz
60ef41cef4 Fix calc doc comments 2023-01-31 00:20:53 +01:00
Laurenz
0ef1b02ee0 Add calc constants 2023-01-30 21:29:03 +01:00
Laurenz
53844b5a87 Simplify calc functions 2023-01-30 21:19:01 +01:00
Martin Haug
0287b98ef3 Add calc module 2023-01-30 21:04:34 +01:00
Martin Haug
c3b3bbb9f2 Update remaining examples 2023-01-29 23:26:31 +01:00
Laurenz
990224c0f8 Annotate return values 2022-12-22 00:34:03 +01:00
Laurenz
13807ce020 Document foundations 2022-12-20 16:33:01 +01:00
Laurenz
f5f7df7247 Documentation 2022-12-20 16:11:37 +01:00
Laurenz
b4b022940b Syntax and example sections 2022-12-19 01:16:35 +01:00
Laurenz
35b16e545b Document parameters in comment 2022-12-17 16:24:29 +01:00
Laurenz
b6202b646a Reflection for castables 2022-12-15 23:11:20 +01:00
Laurenz
9ba4d2c134 New macro setup 2022-12-14 10:09:44 +01:00
Laurenz
0efe669278 Reorganize library and tests 2022-11-29 14:18:13 +01:00