Commit Graph

579 Commits

Author SHA1 Message Date
Arthur Drobot f8b3559cec Add some tests to pow. 2017-08-08 09:45:13 -07:00
Arthur Drobot 4cf4ba98a8 Adjust unit tests. Set the number of significant figures in the output to 50. 2017-08-08 09:27:10 -07:00
Danila Fedorin 12710c625b Add missing comments. 2017-08-07 22:48:56 -07:00
Danila Fedorin e71b037195 Switch the ToggleablePlugin class to Kotlin to avoid boilerplate. 2017-08-07 22:44:16 -07:00
Danila Fedorin fe92929856 Switch HistoryModel to Kotlin to avoid boilerplate. 2017-08-07 22:39:35 -07:00
Danila Fedorin e61cfdca46 Create a documentation object class. 2017-08-07 22:30:32 -07:00
Danila Fedorin ff7d90967e Fix toString errors failing unit tests. 2017-08-07 19:22:35 -07:00
Danila Fedorin 355a91d690 Rewrite the Operator in Kotlin. 2017-08-07 19:16:51 -07:00
Danila Fedorin 5f0fba15eb Add comments to the newly created Kotlin implementations. 2017-08-07 19:11:13 -07:00
Danila Fedorin 3bdc0e2ae5 Rewrite tree nodes in Kotlin. Documentation pending. 2017-08-07 18:57:43 -07:00
Arthur Drobot 68fbcd2d7c Modify exp to use the non-alternating series and take a reciprocal in the case of a negative argument. 2017-08-07 18:13:18 -07:00
Arthur Drobot ed92b382f0 Rewrite precise number to limit significant figures rather than decimal places. Add getMaxError to NumberInterface; modify numbers and StandardPlugin appropriately. 2017-08-07 17:58:18 -07:00
Danila Fedorin e54b5cdd66 Add Kotlin support to gradle. 2017-08-07 17:33:56 -07:00
Danila Fedorin fd87cb66a3 Merge branch 'master' of github.com:DanilaFe/abacus 2017-08-07 14:27:29 -07:00
Danila Fedorin 200f4c7288 Add a filter. 2017-08-07 14:12:41 -07:00
Arthur Drobot 1cd544e712 Merge branch 'master' of https://github.com/DanilaFe/abacus 2017-08-07 14:08:17 -07:00
Arthur Drobot a8c70a6bbe Add checking of negative bases raised to non-integer powers in matchesParams in OP_CARET. 2017-08-07 14:05:15 -07:00
Danila Fedorin f28e915c9a Fix not clearing unloaded plugins. 2017-08-07 13:55:24 -07:00
Danila Fedorin 7a0863380a Add a list of functions to the controller. 2017-08-07 13:55:13 -07:00
Arthur Drobot 8a9df051cf Optimize pow for integer bases. 2017-08-07 13:43:12 -07:00
Arthur Drobot 4eda15b3fb Modify some functions in PreciseNumber for consistency. 2017-08-07 13:41:45 -07:00
Danila Fedorin c9e0d4f8d3 Fix broken documentation,. 2017-08-07 11:18:01 -07:00
Danila Fedorin 213d7af10b Merge branch 'remove-caching'
# Conflicts:
#	src/main/java/org/nwapw/abacus/plugin/StandardPlugin.java
2017-08-07 11:14:11 -07:00
Danila Fedorin 585a3839c1 Merge branch 'time-limit' 2017-08-07 11:12:12 -07:00
Danila Fedorin 205b73f62c Add missing comments. 2017-08-07 11:11:41 -07:00
Danila Fedorin 1cd332b97d Remove output. 2017-08-07 10:58:07 -07:00
Danila Fedorin 314552f95a Read delay input from input field, and kill delay thread. 2017-08-07 10:58:04 -07:00
Danila Fedorin c5ec521996 Fix tests to work with the configuration. 2017-08-07 10:57:51 -07:00
Danila Fedorin 4712bbfded Add a setting to the timeout delay. 2017-08-07 10:57:48 -07:00
Danila Fedorin 7ae7f6d9a5 Add a timer to the computation thread to stop it from running. 2017-08-07 10:57:04 -07:00
Arthur Drobot d0ccb8b625 Improve some comments of NumberInterface functions. 2017-08-07 10:54:27 -07:00
Arthur Drobot 7d5efa1fe6 Add fromInt function into StandardPlugin and replace existing instantiations and promotions of NaiveNumbers with integer values with fromInt calls. 2017-08-07 10:33:16 -07:00
Danila Fedorin 35254d3e99 Rename getPi to piFor. 2017-08-06 21:56:49 -07:00
Danila Fedorin 44f018060d Remove the useless caching in the plugin manager and the maps in plugins 2017-08-06 21:55:09 -07:00
arthur326 6a15c266c4 Fix typo in cot function. 2017-08-06 18:13:01 -07:00
Danila Fedorin 9f61fc5dbe Remove the correct unused intPow function. 2017-08-05 18:23:24 -07:00
Danila Fedorin bae6ee5526 Revert "Remove the NumberInterface::intPow method."
0c16bb4e9b
2017-08-05 18:22:43 -07:00
Danila Fedorin 4f94700aef Remove the NumberInterface::intPow method. 2017-08-05 18:11:16 -07:00
Danila Fedorin b7152da58d Merge branch 'stoppable-alternate' 2017-08-05 17:58:26 -07:00
Danila Fedorin d17a8a9fa7 Add missing javadoc. 2017-08-05 17:29:35 -07:00
Danila Fedorin 71c9f0d141 Merge branch 'documentation' 2017-08-05 17:28:08 -07:00
Danila Fedorin fb02984e60 Decrease test intensity to prevent travis CI from killing gradle. 2017-08-05 17:24:16 -07:00
Danila Fedorin a9ac4681f0 Use a specific configuration instead of chancing it with a local file. 2017-08-05 17:13:03 -07:00
Danila Fedorin 62d7053441 Get rid of unnecessary supplier. 2017-08-05 17:09:12 -07:00
Danila Fedorin f3cbb600ac Remove the default load-from-file behavior from the Abacus core. 2017-08-05 17:04:07 -07:00
Danila Fedorin abc0e2d59f Add tests for more complex functions. 2017-08-05 16:57:52 -07:00
Danila Fedorin f7d1be086b Add tests for basic operations. 2017-08-05 16:57:22 -07:00
Danila Fedorin 21a925d6d2 Write two functions to help test the code. 2017-08-05 16:56:50 -07:00
Danila Fedorin 0d21898f20 Make loading plugins a non-core part of Abacus, avoiding desktop APIs. 2017-08-05 16:21:02 -07:00
Danila Fedorin 3e39087fde Add numerous documentation fixes. 2017-08-05 16:15:30 -07:00