Commit Graph

9 Commits (dfcf39f65096cc4d64eb2c88f61bd501287ebe47)

Author SHA1 Message Date
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 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 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 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 8e2b76d551 t/PrimeFactors.t: Update tests. 2014-03-26 00:14:40 -04:00
Eric Johnson 9c29b27338 Added tests for example queries which are not currently tested.
Conflicts:

	t/TimezoneConverter.t
2014-02-10 21:36:14 +00: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