97 Commits

Author SHA1 Message Date
Laurenz
622c1d747e Final tweaks 2023-06-09 16:24:27 +02:00
Laurenz
e923d0e4da Touch up docs 2023-06-09 16:00:39 +02:00
Laurenz
ad41482b70 Remove deprecated calc.mod function 2023-06-09 15:45:24 +02:00
Laurenz
3bedf8d0d1 Translate TOML datetime properly 2023-06-09 15:45:16 +02:00
Jett Chen
c87f802cf6
add calc.exp, calc.ln (#1299)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-06-07 14:44:07 +02:00
Laurenz
6ea98dd940 Small refactorings 2023-06-06 22:25:55 +02:00
Laurenz
fd417da04f Improve value casting infrastructure 2023-06-06 22:06:16 +02:00
Martin Haug
3093b566ab More link fixes 2023-05-31 18:17:36 +02:00
Martin Haug
78c615b25f Fix 404 links 2023-05-31 18:17:36 +02:00
Erik Bünnig
b805c5f100
Unicode code point conversion (#1068) (#1132) 2023-05-30 18:11:30 +02:00
Lynn
7e07b61046
Add a base parameter to str() (#1362) 2023-05-30 18:05:15 +02:00
Laurenz Stampfl
752817ae74
Add support for date & time handling (#435) 2023-05-23 10:41:20 +02:00
Laurenz
08870d4a4c Clearer error messages for failed comparisons
Fixes #1231
2023-05-22 13:06:33 +02:00
Leedehai
84b9d9c990
Print the string that is not castable to number (#1207) 2023-05-19 14:54:44 +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
1fa56a317c Extract category definitions into individual functions 2023-05-15 10:36:03 +02:00
Pg Biel
f88ef45ee6
Function scopes (#1032) 2023-05-03 14:20:53 +02:00
Martin Haug
17cef8dcee
Add ICC profiles to images in PDF and update usvg, svg2pdf (#822) 2023-05-02 13:53:20 +02:00
Laurenz
3680c854a2 Touch up docs 2023-04-26 15:37:21 +02:00
HarmoGlace
6134e3f4ee
Add toml support (#807) 2023-04-26 11:31:32 +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
Laurenz
bce83d330f Remove intermediate strings in error message 2023-04-18 14:31:32 +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
Alexander Seiler
e4fda4176e
Correct some typos (#746) 2023-04-12 15:13:36 +02:00
Eric Biedert
c7db709da5
Allow treating ratios as floats (#681) 2023-04-11 14:13:01 +02:00
Marmare314
0f8219b392
Unpacking syntax (#532)
Closes #341
2023-04-06 15:26:09 +02:00
Laurenz
c2d88989a7 Format code 2023-04-04 14:36:25 +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
Laurenz
10a3fbd174 Documentation for regex from raw element
Fixes #266.
2023-04-01 19:34:49 +02:00
Marek Barvíř
5e5b1bba51
Needless clone, borrows, casts and lifetimes (#504) 2023-04-01 15:53:13 +02:00
P-Andersson
387bcc3879
add support for loading data from yaml files (#447) 2023-04-01 14:33:42 +02:00
Sébastien d'Herbais de Thun
9e69a7b161
Allows negative pow (#486) 2023-04-01 14:24:43 +02:00
Marek Barvíř
5aa2ba1490
FIX "data.typ" test (#412) 2023-03-30 11:52:27 +02:00
Naim A
2ed4212c76
bail! when #symbol is called without parameters (#440) 2023-03-29 23:07:08 +02:00
Laurenz
ab43bd802e Renaming and refactoring 2023-03-19 22:39:19 +01:00
Laurenz
724e9b140c Locatability and synthesis improvements 2023-03-13 21:41:33 +01:00
Laurenz
cb3c263c4a More accurate logarithm for base 2 and 10 2023-03-13 20:10:29 +01:00
Laurenz
a9fdff244a Expose content representation more 2023-03-10 21:19:50 +01:00
Laurenz
62f35602a8 New #[func] macro 2023-03-10 12:55:21 +01:00