Commit Graph

353 Commits

Author SHA1 Message Date
bakk
2573ae16e2 Fixed new lines being parsed as numbers 2021-05-30 19:11:25 +02:00
bakk
e824918d57 Merge branch 'master' of https://github.com/PaddiM8/kalk 2021-05-29 14:41:28 +02:00
bakk
5ad9532ca0 v0.5.3 2021-05-29 14:41:21 +02:00
PaddiM8
5811d35e8c Updated README to include information contributing 2021-05-29 14:37:01 +02:00
bakk
906e7d0ee2 kalk_web: Added placeholder 2021-05-29 13:23:08 +02:00
bakk
598f311815 kalk_web: Removed margin under kalk, on desktop 2021-05-29 01:34:53 +02:00
bakk
3a7fab530a kalk_web: Switched out contenteditable div to overlaid textarea 2021-05-29 01:12:45 +02:00
bakk
a68efe59e7 kalk_web: Keep scroll on enter 2021-05-28 21:28:01 +02:00
bakk
910b5a425f kalk_web: Avoid automatic scrolling during input on phones 2021-05-28 19:08:15 +02:00
bakk
8015993907 Updated README preview and logo 2021-05-28 16:20:13 +02:00
bakk
7cd5a62253 Only parse one factor after '√' 2021-05-27 23:31:17 +02:00
bakk
83898e3946 Fixed eg. 'x(2x + 1)' not working inside functions 2021-05-27 23:15:53 +02:00
bakk
ac2e7aede5 kalk_web: Updated kalk 2021-05-27 21:39:56 +02:00
bakk
d9a855bd9c kalk_web: Updated kalk 2021-05-27 21:13:03 +02:00
bakk
8e881ae401 kalk_web: Focus input field on button press 2021-05-27 20:58:07 +02:00
bakk
78e93a5f96 Updated version numbers 2021-05-27 19:44:12 +02:00
bakk
b76cfa3db8 Fixed publish_kalk_web path 2021-05-27 17:09:27 +02:00
bakk
2e9a5d213b Added kalk_web to ci 2021-05-27 16:57:53 +02:00
bakk
85edae0590 Fixed pow giving undefined with lhs < 0 and rhs < 1 2021-05-26 22:13:58 +02:00
bakk
265a4bb2e7 Merge branch 'master' of https://github.com/PaddiM8/kalk 2021-05-25 22:33:00 +02:00
bakk
6d88da749d Show NaN and inf in a more user-friendly way 2021-05-25 22:32:50 +02:00
bakk
b6412aca1e Added functions Re(z) and Im(z) 2021-05-25 22:12:26 +02:00
bakk
a42bb5d002 Added tests for operations 2021-05-25 22:04:01 +02:00
bakk
22488f1f38 Added tests for prelude functions 2021-05-25 21:29:59 +02:00
PaddiM8
d24b48bd73 Added android release to CI 2021-05-25 14:53:19 +02:00
PaddiM8
24cd3ecf7e Update README.md 2021-05-25 09:09:25 +02:00
bakk
87df8df12a Support syntax like sin2x 2021-05-24 22:32:33 +02:00
bakk
643b92c23d Support syntax like sinxdx in integrals 2021-05-24 22:05:35 +02:00
bakk
f944e3cebc Keep previous variable value after integration using the same identifier 2021-05-24 21:51:25 +02:00
bakk
c4c768374f Made recursion possible 2021-05-24 21:32:58 +02:00
bakk
d1365b5982 Round result slightly to get a more 'lagom' amount of decimals 2021-05-24 18:22:03 +02:00
bakk
2f40c69883 Updated help.txt 2021-05-24 00:25:36 +02:00
bakk
36abfe60cc kalk_web: Changed C-style for loop to for each loop 2021-05-24 00:25:05 +02:00
bakk
eeb1e1e5a4 kalk_web: 'clear' command 2021-05-23 18:46:13 +02:00
bakk
e40428016f kalk v2.0.0 2021-05-23 18:43:22 +02:00
bakk
04644dc54f Added tests for kalk_num estimation, rounding, and to string functions 2021-05-23 18:17:19 +02:00
bakk
9e0c6a732b abs() the imaginary value on to_string(), since the sign is already there 2021-05-23 16:08:25 +02:00
bakk
eaf712e01f Added tests for calculus.rs 2021-05-23 15:58:23 +02:00
bakk
33de7f034c Fixed rounding for complex numbers resulting in 0 2021-05-23 15:04:12 +02:00
bakk
b0a1d3581b Integration with complex numbers 2021-05-23 02:21:35 +02:00
bakk
ab6e758726 Allow a comma before 'dx' in integrals 2021-05-23 01:56:25 +02:00
bakk
0e425fbf90 Allow function calls without parenthesis even with a variable as argument 2021-05-23 01:42:10 +02:00
bakk
7fd6d28e1d Always round values <= 10^-16 down to zero 2021-05-23 01:30:10 +02:00
bakk
0bbf1c4974 Finding square roots for estimate() 2021-05-23 01:10:22 +02:00
bakk
34e374b346 Created synonym 'integral' for 'integrate' 2021-05-23 00:55:35 +02:00
bakk
7b635079c8 Fixed estimation skipping values with no estimation, when the real/complex value had an estimation 2021-05-23 00:52:43 +02:00
bakk
c80f58433c Convert fract to f64 before turning into string in estimate() 2021-05-23 00:44:58 +02:00
bakk
7af71ff332 Avoid panic because of invalid number literal 2021-05-23 00:04:50 +02:00
bakk
594d139345 Fixed integration with expressions like xdx 2021-05-22 23:59:53 +02:00
bakk
a60dc2bf65 Fixed eg. 'xy' being parsed as 'y' inside functions 2021-05-22 22:40:24 +02:00