ChangeLog 4.96 KB
Newer Older
1
2
3
4
5
2020-03-30  Martin Maechler  <maechler@stat.math.ethz.ch>

	* R/matrix-prods.R: must crossprod() / tcrossprod() generics with
	the `...` extra argument, compatibly with "R base"  `implicitGeneric("crossprod")`

6
7
8
9
10
11
12
13
14
2020-03-02  Martin Mächler  <maechler@stat.math.ethz.ch>

	* DESCRIPTION (Version): 0.5-14

	* R/biginteger.R (floor.bigz, round.bigz, ..): implement
	(c.bigz, max.bigz, sum.bigz, ..): also work when args contain "bigq"

	* R/bigq.R (floor.bigq, round.bigq, ..): implement

Antoine Lucas's avatar
Antoine Lucas committed
15
2016-01-07
16
	** Some fix
Antoine Lucas's avatar
Antoine Lucas committed
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36

	**Indexing/Subassignment:
	*** Seg.faults in
	Z <- as.bigz(1:7);     Z[1] <- list(1) # --> seg.fault
	Q <- as.bigq(1:7, 7);  Q[1] <- list(1) # --> seg.fault
	Z <- as.bigz(1:7);     Z[1] <- NULL    # --> seg.fault
	Q <- as.bigq(1:7, 7);  Q[1] <- NULL    # --> seg.fault

	** Not working Arithmetic
	*** qq <- as.bigq(c(0:5, NA, 7:8), 12) # shows NA fine, is.na(qq), too, but numerator( qq ) gives 0 instead of NA !!

	** Miscellaneous
	*** unique() silently gives nonsense !
	*** duplicated()  ditto

	** Matrix stuff
	***  as.matrix(as.bigq(1:4)),  as.matrix(as.bigz(1:4)) now (~ 2012) work
	**** NB: to go "back", now have asNumeric()  {instead of expecting as.matrix() to give numeric}


Antoine Lucas's avatar
import  
Antoine Lucas committed
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
2014-07-28
	* Fix %/% operator
	* Remove doxygen auto-generated files.

2013-12-03
	* Fix c++ code to work with new gcc.
2013-10-29
	* Fix c++ code to work with new gcc.
2013-09-12  Antoine Lucas.
	* Fix Warn / Note.

2013-09-10  Antoine Lucas.
	* fix man page.

2013-06-09  Antoine Lucas.
        * fix factorize('33162879029270137')

2013-06-07  Martin Maechler  <maechler@stat.math.ethz.ch>
	big changes related to  "a/b" and "b^(-1)";
	also: now give [NA + warning()} rather than an error when
	there is no inverse, a division to 0, or a modulus mismatch

2013-02-14  Martin Maechler  <maechler@stat.math.ethz.ch>

	* R/biginteger.R (duplicated.bigz, unique.bigz, all.equal.bigz):
	new (cheap imp.).

	* R/bigq.R (duplicated.bigq, unique.bigq, all.equal.bigq, mean.bigq):
	new (cheap imp.)

	* R/biginteger.R (rep.bigz): and
	* R/bigq.R (rep.bigq): allow ('length.out' and 'each') arguments

2013-02-13  Martin Maechler  <maechler@stat.math.ethz.ch>

	* src/bigrationalR.cc (bigrational_num): numerator(<NA>)

	* R/matrixz.R (.dimsetZQ): dim(.) <- NULL  now works

2013-02-04  Martin Maechler

	* DESCRIPTION (Version): 0.5-4   (0.5-3 failed in R 2.14.2)

2013-02-03  Antoine Lucas + Martin Maechler
	* man/sizeinbase.Rd updated
	* new function asNumeric()

2012-05-07  Martin Maechler  <maechler@stat.math.ethz.ch>

	* src/bigrational.cc (^): Q^n  and Z^n now also work for negative
	'n' and with NA's.

	* R/bigq.R (as.bigz.bigq): as.bigz(as.bigq(NA)) now works

2012-05-02  Martin Maechler  <maechler@stat.math.ethz.ch>

	* src/bigrationalR.cc (bigrational_pow, mpqz_pow):
	* src/bigrational.cc (operator^): add   <bigq> ^ n   functionality.
	* TODO: (one less :-)

2012-05-01  Martin Maechler  <maechler@stat.math.ethz.ch>

	* DESCRIPTION (Version): 0.5-2

	* src/bigintegerR.cc (bigI_choose, bigI_factorial): now vectorized.
	* man/factorialZ.Rd: updated, including examples

2012-01-20 Antoine Lucas

	* tests/gmp-test.R: update

2012-01-12  Martin Maechler  <maechler@stat.math.ethz.ch>

	* NAMESPACE,
	* src/init.cc: new file, providing proper registration
	* R/zzz.R: new gmpVersion() [to get GMP C library version].

2012-01-09  Martin Maechler  <maechler@stat.math.ethz.ch>

	* R/biginteger.R (as.bigz): mod=NULL now is equivalent to NA;
	 important for  'modulus(x) <- NULL' to work.

2012-01-07  Martin Maechler  <maechler@stat.math.ethz.ch>

	* man/modulus.Rd: example, (and FIXME)

	* TODO: as.bigz(integer()) and as.bigq(integer()) now both work and
	give a 0-length object; analogously, the basic functions now work
	with the 0-length big[qz] vectors and return 0-length.

	* src/bigintegerR.cc (create_SEXP): ensure the modulus also has
	class "bigz".

2012-01-06  Martin Maechler  <maechler@stat.math.ethz.ch>

	* R/matrix-prods.R: new file, containing all %*%, and new
	crossprod, tcrossprod methods.
	<bigz> %*% <double>  now works, too.

2011-12-31  Martin Maechler  <maechler@stat.math.ethz.ch>

	* src/bigintegerR.cc (biginteger_as_integer): new
	(biginteger_log, biginteger_log2): new --> allowing proper log().

	* R/biginteger.R (as.integer.bigz): new -- gave nonsense!
	* R/biginteger.R (log.bigz): now work correctly also for large numbers.

2011-12-29  Martin Maechler  <maechler@stat.math.ethz.ch>

	* src/bigintegerR.cc (bigI_frexp): new, with R interface
	* man/frexpZ.Rd:

	* R/bigq.R (Math.bigq): define a "fall-back" group method
	* R/biginteger.R (Math.bigz): ditto

	* R/biginteger.R (print.bigz, print.bigq): Mention class and length,
	and then do *not* quote, by default.

2011-12-28  Martin Maechler  <maechler@stat.math.ethz.ch>

	* DESCRIPTION (Version): 0.5-0

	* src/bigintegerR.cc (biginteger_max): na_remove now correct from R code
	* src/bigrationalR.cc (bigrational_max): ditto

	* R/biginteger.R (factorialZ, chooseZ): new

2010-04-10  Antoine Lucas <antoinelucas@gmail.com>

	* ./Changes : see for 0.4-12 and everything older.