Commit Graph

15 Commits (240961711e98072160e6030607ccb760ab4d4697)

Author SHA1 Message Date
Rob Emery 56c5ea4a5e Goodies: Enabling `use strict` on all goodies 2015-02-22 20:09:29 +00:00
jagtalon 981538c7c1 Attribution updates!
The string in index 1 should be the name of the developer. This allows us to group them together, i.e., we need a way to group the attribution by people.
2015-01-07 18:24:47 +00:00
Matt Miller da70710f7d EOL: remove trailing whitespace. 2014-10-28 20:36:15 +02:00
Matt Miller 5481cf4ebc Fix minor code layout issues.
Reducing scroll spam from dzil by:

- Providing ABSTRACTs for all packages.
- Leaving VERSION vertical space where necessary.

Addresses #600 plus other annoyances in the process.
2014-08-20 14:45:33 -04:00
Matt Miller c7dcd15801 PrimeFactors: add 'factorize'and 'prime factorize' triggers.
Intended to resolve issue #383.

- Add 'factorize' and 'prime factorize' triggers.
- Use 'factorize 128' as a secondary example query.
- Add minimal tests for new triggers.
2014-04-20 09:46:51 +08:00
Jag Talon 6ea9c4106e PrimeFactors: Handle large integers.
- Enable bignum.
- Add alarm(1) to exit early if it's taking too long to compute (factoring is hard).
2014-04-03 09:54:53 -04:00
Jag Talon 51824d2766 PrimeFactors: Added new features:
- Use `factor_exp` instead of `factor`.
- Add commify to format the input.
- Add exponents to the primes. It's much easier to read.
2014-03-30 13:40:57 -04:00
Jag Talon 77fcd894f1 PrimeFactors: Reword to "$_ is a prime number." 2014-03-26 23:39:04 -04:00
Jag Talon 03d95d156f PrimeFactors: Add additional triggers.
Add "factorization of n", "prime factorization of", and "prime factorization".
2014-03-26 23:28:17 -04:00
Jag Talon 7f2f3b344e PrimeFactor: 0 and 1 are not primes 😄 2014-03-26 00:56:22 -04:00
Jag Talon 005effeb55 PrimeFactors: Change the wording of the result.
- If there are more than one factors say, "The prime factors of __ are __."
- If there is only one factor say, "The number __ is a prime."
2014-03-26 00:43:19 -04:00
Jag Talon 7a2fb40f63 PrimeFactors: Change colon to 'is'. 2014-03-26 00:27:34 -04:00
Jag Talon f998b2fae0 PrimeFactors: Remove Wikipedia link. 2014-03-25 23:43:01 -04:00
austinheimark b6c9ff764d Added link to wiki page of prime factors 2013-05-19 12:33:53 -04:00
austinheimark 85e961be1d Inital commit of prime factors goodie 2013-05-15 11:15:50 -04:00