Commit Graph

8 Commits

Author SHA1 Message Date
Émilie Feral
45684d439b [poincare] Arithmetic::PrimeFactorization returns special cases when the
factorization fails. factor(integer) can fail and returns Undefined
2018-01-23 10:24:52 +01:00
Émilie Feral
65a87d77d6 [poincare] Cap prime factorizations: cap only prime factors
Change-Id: I6384ced8021d264cbf3a903e1574aeb0a22b7c3f
2017-11-28 14:05:46 +01:00
Émilie Feral
20714334af [poincare] In Arithmetics, add LCM
Change-Id: Iadf69597e900e9d4dc26793857fe91378bcc76c2
2017-11-02 13:37:03 +01:00
Émilie Feral
889a0d8eb4 [poincare] Change natural comparison names in Integer
Change-Id: Ifdd4ef3991e650d601a378a9742ae2371915ce77
2017-10-31 12:02:31 +01:00
Émilie Feral
1363c3a65f [poincare] Integer class is not an expression anymore
Change-Id: Iee1037593752a3825b8b9b58f21e296aae71e2cf
2017-10-25 18:19:00 +02:00
Émilie Feral
a61470e84a [poincare] Fix primeFactorization to factorize any number (no bound
anymore)

Change-Id: I389124fcca03843aadcae4a6d5db10188f14c194
2017-10-09 12:03:15 +02:00
Émilie Feral
5d0dcbee1a [poincare] Change API of arithmetic
Change-Id: I1a558c5e269b5f3585feb2e031d0283e38a8f76b
2017-09-27 16:14:48 +02:00
Émilie Feral
553fa730de [poincare] add tests on arithmetic functions
Change-Id: Iac54616ebf8281179b5e832003a643da9122b007
2017-09-26 18:19:40 +02:00