Commit Graph

11 Commits

Author SHA1 Message Date
RunasSudo f534c983cd
Implement guarded fixed-point arithmetic 2021-01-14 22:31:24 +11:00
RunasSudo fb33a96d37
Implement ERS97 2021-01-04 17:26:11 +11:00
RunasSudo 8d7a1ea1f9
Optimisations for number handling
DRY number classes
Implement __iadd__, etc. for better performance
2021-01-03 18:39:32 +11:00
RunasSudo 891f82e148
Fix bug in JS implementation of exclusive Gregory
Remove dependency on Transcrypt's itertools.groupby as this does not appear to work
2021-01-03 02:05:49 +11:00
RunasSudo a3d79e993a
Implement advanced rounding functionality in API 2021-01-03 00:29:41 +11:00
RunasSudo 8a304aedcf
Fix/tweak numbers implementation
Round fixed point decimals in initialiser to match Python behaviour
Add pretty printing for Python
2021-01-02 23:35:17 +11:00
RunasSudo e3edc80f2b
Begin implementation of tie handling 2020-12-23 22:37:48 +11:00
RunasSudo 5f4d6aa7ca
Refactor/clean up (un)weighted inclusive Gregory handling 2020-12-23 20:03:15 +11:00
RunasSudo fab58ab892
Fix rounding errors in unweighted inclusive Gregory mode 2020-10-19 01:40:27 +11:00
RunasSudo dcc3dcc5e7
Customisable options for STV count in backend 2020-10-18 17:54:50 +11:00
RunasSudo 41251e11f6
Implement fixed-point arithmetic 2020-10-18 03:25:41 +11:00