ChangeLog 6.86 KB
Newer Older
Antoine Lucas's avatar
Antoine Lucas committed
1
2
3
4
5

2022-02-23 Antoine Lucas

	rework on operator[]. Fix bugs.

6
7
8
9
10
11
2021-03-29  Martin Maechler  <maechler@stat.math.ethz.ch>

	* R/Stirling-n-etc.R (dbinomQ): new; providing *exact* binomial
	probabilities.
	* DESCRIPTION (Version): 0.6-3 (not yet released)

12
13
14
15
2021-01-07  Martin Maechler  <maechler@stat.math.ethz.ch>

	* configure.ac: add definitions of CFLAGS etc  as from R,
	from a suggestion by Kaspar Daniel Hansen.
16
	* DESCRIPTION (Version) : 0.6-2, released to CRAN
17

Martin Maechler's avatar
update    
Martin Maechler committed
18
2020-07-30  Martin Maechler  <maechler@stat.math.ethz.ch>
19

Martin Maechler's avatar
update    
Martin Maechler committed
20
21
	* R/bigq.R (roundQ): use simpler *vectorized* version, always
	returning 'bigq' (as documented).
22
23
	* tests/arith-ex.R: check it works.

24
25
26
27
28
2020-07-23  Martin Maechler  <maechler@stat.math.ethz.ch>

	* R/bigq.R (round, round0, roundQ): round0(): "round to even"; make
	'round0()' the default argument to  'round(x, digits)'.

29
30
31
2020-06-12  Martin Maechler  <maechler@stat.math.ethz.ch>

	* R/biginteger.R (c_bigz): export, to be used, e.g.,
32
33
	* R/bigq.R (c_bigq): on  lapply(<big>, Fn) to give a <big[qz]> result, see
	* man/bigrational.Rd: the  sapplyQ()  utility in the examples.
34

35
36
2020-06-09  Martin Maechler  <maechler@stat.math.ethz.ch>

37
	* DESCRIPTION (Version): 0.6-1  (not yet released)
38
39
40
41

	* R/Stirling-n-etc.R (BernoulliQ): Bernoulli numbers as exact fractions.
	* R/zzz.R (NA_bigz_, NA_bigq_): analogous to `NA_integer_` etc

42
43
44
45
46
47
48
49
50
51
52
2020-06-06  Martin Maechler  <maechler@stat.math.ethz.ch>

	* NAMESPACE: use *same* S3method(<op>, <class>, <method_fn>) for bigz and bigq,
	* R/bigq.R (add.big): so now "mixed" arithmetic and comparisons work

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

	* DESCRIPTION (Version): 0.6-0  (not yet released)

	* R/biginteger.R (as.bigz): now  as.bigz(<bigz>)  keeps a modulus

53
54
55
56
2020-05-11  Martin Maechler  <maechler@stat.math.ethz.ch>

	* R/AllClasses-etc.R (.diff.big): diff.big[zq]() methods

57
58
2020-03-30  Martin Maechler  <maechler@stat.math.ethz.ch>

59
60
	* R/matrixz.R[.dimZQ, .ncolZQ]: use `%/%` to get integer dim() and ncol()

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

64
65
66
67
68
69
70
71
72
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
73
2016-01-07
74
	** Some fix
Antoine Lucas's avatar
Antoine Lucas committed
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94

	**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
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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
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.